Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-4875

Problem Display Behavior Using Response type="view-last"

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Release 10.04, Trunk
    • Fix Version/s: None
    • Component/s: ALL COMPONENTS
    • Labels:
      None
    • Environment:

      demo-stable demo-trunk

    • Sprint:
      Bug Crush Event - 21/2/2015

      Description

      Under some conditions Response type="view-last" in common-controller.xml produces unexpected results.
      1. When the user navigates from a help file and changes the Language, Visual Theme or Time Zone.
      2. When the user selects a node from a jQuery jstree and changes the Language, Visual Theme or Time Zone (demo-trunk only)
      3. type="view-last" is used extensively throughout OFBiz so there could be other problem cases.

      To Reproduce:
      Case 1 Select Help:
      1 Open any OFBiz back office application with a theme that has a preference section.
      2 Click the Help link in the preferences section
      3 The Help window opens
      4 Close the Help window
      5 Click the Language, Visual Themes or Time Zone link in the preferences section
      6 Select any language , theme or time zone
      Expect: Return to the OFBiz Application

      Case 2 Select tree node (demo-trunk only):
      1 Open Catalog Manager or HR application
      2 Click a node in the jQuery tree
      3 Click the Language, Visual Themes or Time Zone link (not the Done or Cancel button) in the preferences section
      4 Select any language , theme or time zone
      Expect: Return to the OFBiz Application

      Actual:
      Case 1 Help: The Help window opens.
      The application is no longer available. The user is Stuck, only way out is the browser back button.

      Case 2 jQuery Tree: The application opens in a text only mode. If the user makes a selection from the text only view the theme is restored.
      Note: The display may be a Help window or a screen with text "No category specified." if the user follows other paths not described here.

      Not sure of an approach for a solution.
      Modify the "view-last" RequestHandler.java logic
      Using some other response type or value in the <response name="success" type="view-last" value="main"/>

      Any suggestions?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jacopoc Jacopo Cappellato
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: