ddev created OFBIZ-12364:
----------------------------

             Summary: Incorrect definition and usage of EmplPositionType?
                 Key: OFBIZ-12364
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12364
             Project: OFBiz
          Issue Type: Bug
          Components: humanres
    Affects Versions: Trunk
            Reporter: ddev
         Attachments: ofbiz-empl-position-type-patch.diff

In the Data Model Resouce Book, on page 326 (or on page 306, depending on how 
you are counting pages), it shows EmplPositionType having fields "title" for 
the position title, and "description" to describe what the position is supposed 
to be about.

However, EmplPositionType in ofbiz is missing the "title" field. 

Fixing this is a simple one line patch.

However, additionally ofbiz seed data seems to put the title data in the 
description field, like so:

applications/datamodel/data/seed/HumanResSeedData.xml: <EmplPositionType 
description="Chief Executive Officer" hasTable="N" emplPositionTypeId="CEO"/>

This is a simple patch as well (patch is attached)

But does this mean we would assume that people are putting the title in the 
description field in their local database, meaning we wouldn't patch it without 
some kind of translation system to move the description data to the title 
field.  What about those people who are using the field correctly already?

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to