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

Error when changing language after using the product jump from the left part of the main product screen

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: product
    • Labels:
      None

      Description

      When you use the product jump from the left part of the main product screen, either after auto completion or using the lookup, and then change the language you get this error

      org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name []

      This problem is new in trunk

        Activity

        Hide
        shi.jinghai Shi Jinghai added a comment -

        I added a check on the empty view name in framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java. If it's empty, use the value configured in the response as the view name. Now after setting the locale, the page can return to main page without error message.

        I'll check why the view name empty, as the return to main is not good enough for some cases.

        Show
        shi.jinghai Shi Jinghai added a comment - I added a check on the empty view name in framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java. If it's empty, use the value configured in the response as the view name. Now after setting the locale, the page can return to main page without error message. I'll check why the view name empty, as the return to main is not good enough for some cases.
        Hide
        jacques.le.roux Jacques Le Roux added a comment - - edited

        Thanks Shi, it works now, we will see if it has no possible side effects... hard to be sure for all cases. Knowing why the view name is empty should help us indeed, thanks!

        Show
        jacques.le.roux Jacques Le Roux added a comment - - edited Thanks Shi, it works now, we will see if it has no possible side effects... hard to be sure for all cases. Knowing why the view name is empty should help us indeed, thanks!
        Hide
        jacques.le.roux Jacques Le Roux added a comment - - edited

        This was done at r1693231

        Show
        jacques.le.roux Jacques Le Roux added a comment - - edited This was done at r1693231
        Hide
        deepak.dixit Deepak Dixit added a comment -

        Hi Jacques,

        Can we close this issue?

        Show
        deepak.dixit Deepak Dixit added a comment - Hi Jacques, Can we close this issue?
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Yes, thanks Deepak, we can reopen if necessary

        Show
        jacques.le.roux Jacques Le Roux added a comment - Yes, thanks Deepak, we can reopen if necessary

          People

          • Assignee:
            shi.jinghai Shi Jinghai
            Reporter:
            jacques.le.roux Jacques Le Roux
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development