[
https://issues.apache.org/jira/browse/OFBIZ-10921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440711#comment-17440711
]
Jacques Le Roux commented on OFBIZ-10921:
-----------------------------------------
Hi,
Seems we habe a problem here:
{code:xml}
<Enumeration description="Single" enumId="SINGLE" sequenceId="01"
enumTypeId="MARITAL_STATUS" enumName="Single"/>
<Enumeration description="Married" enumId="MARRIED" sequenceId="02"
enumTypeId="MARITAL_STATUS" enumName="Married"/>
{code}
gives in log:
{noformat}
2021-11-08 19:22:05,153 |main |EntitySaxReader
|W| Ignoring invalid field name [enumName] found for the entity: Enumeration
with value=Single
2021-11-08 19:22:05,153 |main |EntitySaxReader
|W| Ignoring invalid field name [enumName] found for the entity: Enumeration
with value=Married
{noformat}
> Marital Status not managed properly in Person entity
> ----------------------------------------------------
>
> Key: OFBIZ-10921
> URL: https://issues.apache.org/jira/browse/OFBIZ-10921
> Project: OFBiz
> Issue Type: Improvement
> Components: party
> Affects Versions: Trunk
> Reporter: Suraj Khurana
> Assignee: Suraj Khurana
> Priority: Major
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-10921.patch, OFBIZ-10921.patch
>
>
> Currently, *maritalStatus* is managed as an indicator (Y/N) in *Person*
> entity. I think we can enhance it and make it derived from *Enumeration*
> pattern.
>
> *Classification of legal marital status*
>
> - 1 - Married (and not separated) ...
> - 2 - Widowed (including living common law) ...
> - 3 - Separated (and not Divorced) ...
> - 4 - Divorced (including living common law) ...
> - 5 - Single (including living common law)
> Please refer discussion over ML:
> [https://markmail.org/message/5b33qm3osy76if24]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)