Hi
I'm seeing the following in logs: [FlexibleMapAccessor.java:163:ERROR] UEL exception while setting value: javax.el.ELException: Cannot set value of a non-lvalue expression 'title - property', original = title-property I think it's caused by this in the quickFinalizeOrder screen in OrderEntryOrderScreens.xml in ordermgr: <set field="title-property" value="PageTitleCheckoutOptions"/> It seems that title-property should be titleProperty? Is this correct? If so, OrderEntryCatalogScreens.xml has the same problem. Should I create a Jira issue and a patch? Cheers, Anne. -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Phone: (03) 9585 6788 Fax: (03) 9585 1086 Web: http://www.cohsoft.com.au/ Email: [hidden email] Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
Le 16/11/2010 06:36, Anne Jessel a écrit :
> Hi > > I'm seeing the following in logs: > > [FlexibleMapAccessor.java:163:ERROR] UEL exception while setting > value: javax.el.ELException: Cannot set value of a non-lvalue > expression 'title - property', original = title-property > > I think it's caused by this in the quickFinalizeOrder screen in > OrderEntryOrderScreens.xml in ordermgr: > > <set field="title-property" value="PageTitleCheckoutOptions"/> > > It seems that title-property should be titleProperty? Is this correct? > > If so, OrderEntryCatalogScreens.xml has the same problem. > > Should I create a Jira issue and a patch? > > Cheers, > Anne. > this would be the best solution. I will then review your patch ! Cheers, -- Erwan de FERRIERES www.nereide.biz |
Erwan,
Keep in mind that in UEL, "title-property" evaluates to "subtract property from title." So, fixing this error will require converting the expression to a String. -Adrian On 11/16/2010 1:04 AM, Erwan de FERRIERES wrote: > Le 16/11/2010 06:36, Anne Jessel a écrit : >> Hi >> >> I'm seeing the following in logs: >> >> [FlexibleMapAccessor.java:163:ERROR] UEL exception while setting >> value: javax.el.ELException: Cannot set value of a non-lvalue >> expression 'title - property', original = title-property >> >> I think it's caused by this in the quickFinalizeOrder screen in >> OrderEntryOrderScreens.xml in ordermgr: >> >> <set field="title-property" value="PageTitleCheckoutOptions"/> >> >> It seems that title-property should be titleProperty? Is this correct? >> >> If so, OrderEntryCatalogScreens.xml has the same problem. >> >> Should I create a Jira issue and a patch? >> >> Cheers, >> Anne. >> > Hi Anne, > > this would be the best solution. > I will then review your patch ! > > Cheers, > |
Jira issue created, with patch attached. JIRA-4018.
As I commented on Jira, some of the labels referred to were not present in the Order module. I copied the corresponding ones from Ecommerce. My guess is that part is a hangover from when ecommerce was under applications. Adrian, I believe everything that should be a String already is. The mis-typed fieldname is confusing the system into thinking it isn't a String when in fact it already is. Cheers, Anne. On 17 November 2010 02:49, Adrian Crum <[hidden email]> wrote: > Erwan, > > Keep in mind that in UEL, "title-property" evaluates to "subtract property > from title." So, fixing this error will require converting the expression to > a String. > > -Adrian > > On 11/16/2010 1:04 AM, Erwan de FERRIERES wrote: >> >> Le 16/11/2010 06:36, Anne Jessel a écrit : >>> >>> Hi >>> >>> I'm seeing the following in logs: >>> >>> [FlexibleMapAccessor.java:163:ERROR] UEL exception while setting >>> value: javax.el.ELException: Cannot set value of a non-lvalue >>> expression 'title - property', original = title-property >>> >>> I think it's caused by this in the quickFinalizeOrder screen in >>> OrderEntryOrderScreens.xml in ordermgr: >>> >>> <set field="title-property" value="PageTitleCheckoutOptions"/> >>> >>> It seems that title-property should be titleProperty? Is this correct? >>> >>> If so, OrderEntryCatalogScreens.xml has the same problem. >>> >>> Should I create a Jira issue and a patch? >>> >>> Cheers, >>> Anne. >>> >> Hi Anne, >> >> this would be the best solution. >> I will then review your patch ! >> >> Cheers, >> > -- Coherent Software Australia Pty Ltd PO Box 2773 Cheltenham Vic 3192 Phone: (03) 9585 6788 Fax: (03) 9585 1086 Web: http://www.cohsoft.com.au/ Email: [hidden email] Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
Free forum by Nabble | Edit this page |