UEL exception occures when groupName starts with number in Picking
------------------------------------------------------------------ Key: OFBIZ-2513 URL: https://issues.apache.org/jira/browse/OFBIZ-2513 Project: OFBiz Issue Type: Bug Components: product Affects Versions: SVN trunk Reporter: Arun Patidar Priority: Minor In facility -> Picking , when we group order by different options for Picking, If shipmentMethodTypeId starts with a digit then it throws UEL Exception on console and order is not picked.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun Patidar updated OFBIZ-2513: -------------------------------- Attachment: UEL-Exception.patch Here is patch for fix this . Added character 'G' to avoid UEL exception while creating map using this value as key of map. > UEL exception occures when groupName starts with number in Picking > ------------------------------------------------------------------ > > Key: OFBIZ-2513 > URL: https://issues.apache.org/jira/browse/OFBIZ-2513 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Arun Patidar > Priority: Minor > Attachments: UEL-Exception.patch > > > In facility -> Picking , when we group order by different options for Picking, If shipmentMethodTypeId starts with a digit then it throws UEL Exception on console and order is not picked.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur reassigned OFBIZ-2513: ---------------------------------- Assignee: Vikas Mayur > UEL exception occures when groupName starts with number in Picking > ------------------------------------------------------------------ > > Key: OFBIZ-2513 > URL: https://issues.apache.org/jira/browse/OFBIZ-2513 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Arun Patidar > Assignee: Vikas Mayur > Priority: Minor > Attachments: UEL-Exception.patch > > > In facility -> Picking , when we group order by different options for Picking, If shipmentMethodTypeId starts with a digit then it throws UEL Exception on console and order is not picked.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712428#action_12712428 ] Adrian Crum commented on OFBIZ-2513: ------------------------------------ Vikas, Please take some time to understand our UEL implementation before committing anything - http://docs.ofbiz.org/x/Hhk. > UEL exception occures when groupName starts with number in Picking > ------------------------------------------------------------------ > > Key: OFBIZ-2513 > URL: https://issues.apache.org/jira/browse/OFBIZ-2513 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Arun Patidar > Assignee: Vikas Mayur > Priority: Minor > Attachments: UEL-Exception.patch > > > In facility -> Picking , when we group order by different options for Picking, If shipmentMethodTypeId starts with a digit then it throws UEL Exception on console and order is not picked.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712449#action_12712449 ] Vikas Mayur commented on OFBIZ-2513: ------------------------------------ Thanks Adrian for sharing your thoughts. I am indeed trying to learn how to fix this issue because adding a prefix to a map key as it is an integer was not preferred? > UEL exception occures when groupName starts with number in Picking > ------------------------------------------------------------------ > > Key: OFBIZ-2513 > URL: https://issues.apache.org/jira/browse/OFBIZ-2513 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Arun Patidar > Assignee: Vikas Mayur > Priority: Minor > Attachments: UEL-Exception.patch > > > In facility -> Picking , when we group order by different options for Picking, If shipmentMethodTypeId starts with a digit then it throws UEL Exception on console and order is not picked.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712463#action_12712463 ] Adrian Crum commented on OFBIZ-2513: ------------------------------------ Right. The problem occurs on line 355: {code} <if-empty field="pickMoveInfoMap.${groupName}.${groupName}"> {code} where groupName is used as a property name. You'll have to experiment with different ways to make sure the property is interpreted as a String: {code} <if-empty field="pickMoveInfoMap[groupName][groupName]"> <!-- or --> <if-empty field="pickMoveInfoMap['${groupName}']['${groupName}']"> {code} > UEL exception occures when groupName starts with number in Picking > ------------------------------------------------------------------ > > Key: OFBIZ-2513 > URL: https://issues.apache.org/jira/browse/OFBIZ-2513 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Arun Patidar > Assignee: Vikas Mayur > Priority: Minor > Attachments: UEL-Exception.patch > > > In facility -> Picking , when we group order by different options for Picking, If shipmentMethodTypeId starts with a digit then it throws UEL Exception on console and order is not picked.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur closed OFBIZ-2513. ------------------------------ Resolution: Fixed Fix Version/s: SVN trunk Thanks Adrian for looking into this and providing the solution as well. I have tested with the first solution and it worked like a charm. I hope I did it in right way. Also thanks Arun for reporting as you can see I have committed a different fix as suggested by Adrian in trunk rev. 781696. Please report back if you still find any issue. > UEL exception occures when groupName starts with number in Picking > ------------------------------------------------------------------ > > Key: OFBIZ-2513 > URL: https://issues.apache.org/jira/browse/OFBIZ-2513 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: SVN trunk > Reporter: Arun Patidar > Assignee: Vikas Mayur > Priority: Minor > Fix For: SVN trunk > > Attachments: UEL-Exception.patch > > > In facility -> Picking , when we group order by different options for Picking, If shipmentMethodTypeId starts with a digit then it throws UEL Exception on console and order is not picked.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikas Mayur updated OFBIZ-2513: ------------------------------- Affects Version/s: Release Branch 9.04 Fix Version/s: Release Branch 9.04 Applied fix to release09.04 in rev. 781698. > UEL exception occures when groupName starts with number in Picking > ------------------------------------------------------------------ > > Key: OFBIZ-2513 > URL: https://issues.apache.org/jira/browse/OFBIZ-2513 > Project: OFBiz > Issue Type: Bug > Components: product > Affects Versions: Release Branch 9.04, SVN trunk > Reporter: Arun Patidar > Assignee: Vikas Mayur > Priority: Minor > Fix For: Release Branch 9.04, SVN trunk > > Attachments: UEL-Exception.patch > > > In facility -> Picking , when we group order by different options for Picking, If shipmentMethodTypeId starts with a digit then it throws UEL Exception on console and order is not picked.. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |