[jira] [Commented] (OFBIZ-6552) Error when changing language after using the product jump from the left part of the main product screen

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-6552) Error when changing language after using the product jump from the left part of the main product screen

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647245#comment-14647245 ]

Shi Jinghai commented on OFBIZ-6552:
------------------------------------

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.

> Error when changing language after using the product jump from the left part of the main product screen
> --------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6552
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6552
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Shi Jinghai
>             Fix For: Upcoming Branch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)