Opened 12 years ago

Closed 12 years ago

#1159 closed defect (fixed)

File upload menu in modalbox will only appear once

Reported by: simonp Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0
Component: General Version: v2.8.0RC2
Keywords: Cc:

Description

If you add an online resource, choose file for download as protocol, and click on upload file then modal box will appear and file upload can be done.

However if you add another online resource and choose file for download as protocol, click on upload file then modal box will no longer appear. Service is called to prepare modalbox form for file upload but modalbox won't show.

Change History (2)

comment:1 by ianwallen, 12 years ago

Milestone: v2.9.0v2.8.0

The bug seems to be related to the auto closing of the popup windows. From the test that I have done - after the file has been uploaded there is a quick status report on the file size and filename uploaded. If I close this popup manually before it does the auto close then the next file upload will work correctly. If I let it timeout and close itself then the next one will not work.

Note: this is not related to adding a new protocol. If editing an existing metadata record containing several options to upload a file the same bug occurs.

I quickly looked at the code and could not easily locate where the auto close code was located.

comment:2 by simonp, 12 years ago

Resolution: fixed
Status: newclosed

Move editor form save into afterHide event on modal box that shows file upload results - otherwise modalbox gets treated badly by editor form save and won't come back to life again

Fixed in commit 4ddc647d2c06919285422f8932c03bdcc68f2fab

Note: See TracTickets for help on using tickets.