Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10150

supplierProductId Should Have Consistent Types Across Entities.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Trunk, Release Branch 16.11, Release Branch 17.12, Release Branch 18.12
    • Fix Version/s: None
    • Component/s: order, product
    • Labels:
      None
    • Environment:

      all

      Description

      During some data migration I hit an issue where my data for supplierProductId was too long. So I looked up the fields and noticed that the order item entity had a different type for the field than the supplier product entity. I think it would be a good idea to pick one so the two fields can be treated consistently. I would vote for id-long, but I think either way it would be good to have them be the same type. There are other fields that have this issue too if you are interested?

      Thanks!

      applications/datamodel/entitydef/order-entitymodel.xml:
      <entity entity-name="OrderItem".......
      <field name="supplierProductId" type="id-long"></field>

      applications/datamodel/entitydef/product-entitymodel.xml:
      <entity entity-name="SupplierProduct"......
      <field name="supplierProductId" type="id"></field>

        Attachments

        1. OFBIZ-10150.patch
          0.9 kB
          Rohit Hukkeri

          Activity

            People

            • Assignee:
              jleroux Jacques Le Roux
              Reporter:
              jesse@thomasnetworks.net jesse thomas
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: