[jira] Updated: (OFBIZ-3247) State field is missing - Not in List or N/A

Posted by Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-3247-State-field-is-missing-Not-in-List-or-N-A-tp786000p2332166.html


     [ https://issues.apache.org/jira/browse/OFBIZ-3247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ankit Jain updated OFBIZ-3247:
------------------------------

    Attachment: OFBIZ-3247.patch

Hello Sam,

The "Not Applicable" is present in the entity "Geo" but its not present in the State drop-down, because the fetching was done on the constraint which is  fetch all GeoIds having GeoTypeId in "STATE, PROVINCE", and the _NA_ dont have any GeoTypeId, so its not there.  

You can just add an <option> tag and give the value hard coded. So i dont think that its a bug anymore.

But here is the patch which can solve the issue.

Thanks & Regards
Ankit Jain :)

> State field is missing - Not in List or N/A
> -------------------------------------------
>
>                 Key: OFBIZ-3247
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3247
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: SVN trunk
>            Reporter: Sam Hamilton
>            Priority: Trivial
>         Attachments: OFBIZ-3247.patch
>
>
> When you are creating an employee on https://demo.ofbiz.org/partymgr/control/NewEmployee there is no field in the drop down box for Not Applicable, just in case you cant find the state you wanted, I was trying to find an English counties at the time.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.