View Issue Details

IDProjectCategoryView StatusLast Update
278Composrcore_cnspublic2016-06-08 00:12
ReporterGuest Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary278: Problems with updating the forum message editor after uploading an attachment
DescriptionUploading attachment on forum post does not enter comcode tags into the message editor if it didn't have a focus previously.
Steps To Reproduce1) Navigate to forum
2) Be sure that simple uploader is selected
3) Create new post (or replay to an existing one) WITHOUT clicking on any field on the form (i.e. the message editor does not have a focus)
4) Select Attachments
5) Upload an image
6) Select Thumbnail on the popup window
7) The image is added to the upload field but comcode tags are not entered into the message editor (it is completely empty). Moreover, an user is not able to remove the uploaded attachment without refreshing the page (see the issue 0000276)
Additional InformationExpected behavior: After uploading image the message box is updated even if it did not have a focus.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Guest

2011-07-21 19:45

reporter   ~160

The same issue exists with flash uploader, too. The editor is not updated with uploaded image (but there is an option for clearing the upload field)

Chris Graham

2011-07-21 22:41

administrator   ~161

I believe this is due to a bug in Firefox. The action on a non-focused causes a JS exception which we have to swallow to stop the whole thing breaking.

Guest

2011-07-22 08:21

reporter   ~165

Tested with IE 8 and 9, Firefox, Chrome, Chromium and Opera and the behavior is the same in all cases - the editor is not updated with comcode tags if it doesn't have a focus.

Chris Graham

2011-07-22 11:15

administrator   ~166

Seems you're right. I have implemented a workaround.

Issue History

Date Modified Username Field Change
2016-06-08 00:12 Chris Graham Tag Detached: window
2016-06-08 00:12 Chris Graham Tag Detached: post
2016-06-08 00:12 Chris Graham Tag Detached: popup
2016-06-08 00:12 Chris Graham Tag Detached: forum
2016-06-08 00:12 Chris Graham Tag Detached: browser
2016-06-08 00:12 Chris Graham Tag Detached: attachment