RSS Feed/News Photo can't be uploaded if client side EXIF processing fails unexpectedly

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
29,316
Points
823

Reputation:

The attached image can't be uploaded on XenForo 2.3.7 (but works fine on 2.3.6 and lower).

This seems to be related to an exception thrown in client side EXIF processing:
Code:

Code:
case 'GPSTimeStamp':
    value = data.value.map((v) => v.join('/'))
    break

This assumes that v is an array, if it is not it throws an exception.

This exception is caught but silently ignored and the upload is aborted:
Code:

Code:
try
{
    const result = await this.preProcessFile(file)
    if (result === false)...

Read more

Continue reading...
 
Status
Not open for further replies.
Top