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

Bug in seed data for UomType / Uom

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: datamodel
    • Labels:
      None

      Description

      I found a problem in the seed data.  The kilogram, is under the wrong measure type.  The kilogram is a unit of mass, not a unit of weight. 

      Explanation: The weight of a product/object changes with altitude, the mass does not.  (example: If you want to lower your mass, then you need to diet, but if you just want to weigh less, then just live on mars.)

      (These are easy to confuse because of a naming collision:  there is a unit of mass called the pound and also unit of force called the pound)

      Basically, we should change:

      <UomType description="Weight" hasTable="N" uomTypeId="WEIGHT_MEASURE"/>

       To be:
      <UomType description="Mass" hasTable="N" uomTypeId="MASS_MEASURE"/>
      <UomType description="Force" hasTable="N" uomTypeId="FORCE_MEASURE"/>

       

      With seperate Uoms under each UomType

       

      Update: I've also found power Uom's in the ENERGY_MEASURE

       

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ddev ddev

              Dates

              • Created:
                Updated:

                Issue deployment