OFBiz
  1. OFBiz
  2. OFBIZ-4651

Uploading a file after a session timeout

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None
    • Sprint:
      Bug Crush Event - 21/2/2015, Community Day 1 - 2015

      Description

      When a user goes to a page (eg. https://localhost:8443/partymgr/control/viewprofile?partyId=Company) and tries to upload a file to content after the session has timed out. Nothing happens except for the message, "(undefined%)" at the progress bar. Looking at the console log, getFileUploadProgressStatus is called continuously.

      Need a way to show the login screen for the user to login again to refresh the session before upload can take place.

      This issue would apply to all pages that upload content to ofbiz.

      1. OFBIZ-4651.patch
        0.6 kB
        Arun Patidar

        Activity

        Hide
        Pranay Pandey added a comment -

        Hi Arun,

        Thanks for the patch. It looks like you have only checked this issue on party profile page. Please review other places where contents are uploaded to ofbiz like category or product contents. If its not an issue at other places we can commit this page or else will need an updated patch.

        Show
        Pranay Pandey added a comment - Hi Arun, Thanks for the patch. It looks like you have only checked this issue on party profile page. Please review other places where contents are uploaded to ofbiz like category or product contents. If its not an issue at other places we can commit this page or else will need an updated patch.
        Hide
        Arun Patidar added a comment -

        Attached is the patch to fix the issue. Handled error in js code.

        Show
        Arun Patidar added a comment - Attached is the patch to fix the issue. Handled error in js code.

          People

          • Assignee:
            Pranay Pandey
            Reporter:
            Wai
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development

                Agile