You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/09/10 03:48:00 UTC
[jira] [Commented] (OFBIZ-13533) hasValidStateProvince throws instead of returning a validation result
[ https://issues.apache.org/jira/browse/OFBIZ-13533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18113650#comment-18113650 ]
ASF subversion and git services commented on OFBIZ-13533:
---------------------------------------------------------
Commit 115f457df7593fc295014cfba19cfc94d78cd1bb in ofbiz-framework's branch refs/heads/trunk from Mridul Pathak
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=115f457df7 ]
Fixed: hasValidStateProvince returns String but declared Map (OFBIZ-13533)
Correct the declared return type of internal helper hasValidStateProvince from Map to String, preventing a GroovyCastException when validating addresses missing a required state/province for USA or CAN.
> hasValidStateProvince throws instead of returning a validation result
> ---------------------------------------------------------------------
>
> Key: OFBIZ-13533
> URL: https://issues.apache.org/jira/browse/OFBIZ-13533
> Project: OFBiz
> Issue Type: Bug
> Components: party
> Affects Versions: Upcoming Branch, 24.09.07
> Reporter: Mridul Pathak
> Assignee: Mridul Pathak
> Priority: Major
>
> Wrong declared return type crashes on the missing-state case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)