[jira] [Commented] (OFBIZ-7130) Error on console when navigate to update party email address page

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

[jira] [Commented] (OFBIZ-7130) Error on console when navigate to update party email address page

Nicolas Malin (Jira)

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

Amardeep Singh Jhajj commented on OFBIZ-7130:
---------------------------------------------

This issue occurs due to the code used for dependent drop down for country and state. At party email address update page, no dependent drop down used, so js code triggering the request with empty countryGeoId and creating above reported error. I have added check in code that if drop down field not present on page then no need to observe it for change.
Please find attached patch for the fix for Release 15.12, 14.12, 13.07 and trunk. Thanks.

> Error on console when navigate to update party email address page
> -----------------------------------------------------------------
>
>                 Key: OFBIZ-7130
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7130
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework, party
>    Affects Versions: Release Branch 13.07, Release Branch 14.12, Trunk, Release Branch 15.12
>            Reporter: Amardeep Singh Jhajj
>            Assignee: Pranay Pandey
>            Priority: Minor
>         Attachments: OFBIZ-7130-Releases.patch, OFBIZ-7130-trunk.patch
>
>
> Here is the error log:
> {code}
> [java] 2016-05-26 09:06:55,702 |http-nio-8443-exec-7 |ControlServlet                |T| [[[editcontactmech(Domain:https://localhost)] Request Done- total:1.114,since last([editcontactmech(...):1.114]]
>      [java] 2016-05-26 09:06:55,752 |http-nio-8443-exec-9 |ControlServlet                |T| [[[getAssociatedStateList(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
>      [java] 2016-05-26 09:06:55,813 |http-nio-8443-exec-9 |UtilProperties                |I| ResourceBundle ServiceErrorUiLabels (en_US) created in 0.045s with 34 properties
>      [java] 2016-05-26 09:06:55,814 |http-nio-8443-exec-9 |ServiceDispatcher             |E| Incoming context (in runSync : getAssociatedStateList) does not match expected requirements
>      [java] org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [getAssociatedStateList.countryGeoId]
>      [java] at org.ofbiz.service.ModelService.validate(ModelService.java:557) ~[ofbiz-service.jar:?]
>      [java] at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:376) [ofbiz-service.jar:?]
>      [java] at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) [ofbiz-service.jar:?]
> {code}
> I will provide the patch soon.



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