Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-1002

UI breaks, when I cancel a video upload and trigger another one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 5.0
    • None
    • forms
    • magnolia-bundle_stable build #27 (28.03.2013 11:33:00)

      When I cancel an upload and immediately upload the same or a different video file again, I do not get a progress bar and the the entire UI enters an undefined state - only a restart of the instance helps.

      To reproduce:

      • Open Assets app, choose "New asset"
      • select a video file to upload using the "select" button of the upload field
      • cancel the upload mid term
      • select a video file again using the "select" button

      -> No progress bar appears.

      As a matter of fact, this causes the upload field and the entire UI to be broken.

      • if you click on "select" again, the file selector dialog is not opened
      • the log mentions some problems:
      2013-03-28 11:25:38,503 WARN  .admincentral.field.upload.AbstractUploadFileField: Upload failed for file 5 Interesting Moments.mp4 
      2013-03-28 11:25:38,504 WARN  info.magnolia.module.cache.filter.CacheFilter     : The following URL took longer than 10 seconds (11009 ms) to render. This might cause timeout exceptions on other requests to the same URI. [url=http://localhost:8080/magnoliaAuthor/.magnolia/admincentral/APP/UPLOAD/1/250/action/7868c7cc-0ba1-459a-8294-98fc89df3e47], [key=DefaultCacheKey{uri='/.magnolia/admincentral/APP/UPLOAD/1/250/action/7868c7cc-0ba1-459a-8294-98fc89df3e47', serverName='localhost', locale='en', channel='all', params={}', secure='false'}]
      28.03.2013 11:25:38 com.vaadin.server.AbstractCommunicationManager parseInvocation
      WARNUNG: RPC call to com.vaadin.shared.ui.progressindicator.ProgressIndicatorServerRpc.poll received for connector 269 but no such connector could be found. Resynchronizing client.
      

      I couldn't simply close the upload dialog or close and re-open the Assets app to fix this. As a matter of fact, once the "New asset" dialog is closed, I can't re-open it anymore. I had to stop and start the entire web app for it to work again.

        Acceptance criteria

              apchelintcev Aleksandr Pchelintcev
              weder Andreas Weder
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD