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

Updating data sets

    XMLWordPrintableJSON

Details

    Description

      This is a placeholder issue.

      Having correct data shipped with OFBiz is key to not only

      1. have a good operational state (meaning adopters can work with OFBiz out of the box)
      2. have a good data set for demonstration purposes
      3. have a good data set to enable unit, system integration and acceptance testing

      Re aspect 1:
      This encompasses all security, system property and other seed data sets

      Re aspect 2:
      This encompasses all data records in the various DemoData.xml files. This kind of data needs to be coherent from the perspective of the main internal organisation (or the legal demo party) that operates the OFBiz implementation.

      Re aspect 3:
      The data set for this aspect encompasses all data under aspect 1 and 2.

      With a good data set for demonstration purposes it is easier for potential adopters (and their influencers) to see the added value of implementing OFBiz in their company/organisation, while at the same time it helps developers to understand the coherence between widgets, templates, services, functions and other data counter parts. Also, good demo data helps contributors to identity issues regarding the usability of OFBiz, work to resolve them and ultimate improve OFBiz.

      Demo data sets should be grouped in accordance to the component load order (as defined in e.g. component-load.xml, see links below). The first appearance of a data record of the demo kind should also (as much as possible) be in accordance with where the related entity is defined and where the first appearance of related seed data records are defined. For guidance see the entity reference (per link below)

      Example 1:
      The ProductStore entity is defined in the entity model for the Product component (the product-entitymodel.xml).

      Thus any new demo record regarding this ProductStore entity should first appear in the ProductDemoData.xml file.

      Example 2:
      Following record is defined in WorkEffortTypeData.xml

      <WorkEffortType description="Project" hasTable="N" workEffortTypeId="PROJECT"/>
      

      Thus any first appearance of a demo record for the WorkEffort entity with the defined workEffortTypeId="PROJECT" should appear in the WorkEffortDemoData.xml file

      With the above we minimise the risk of duplication and dependency mismatches

      Attachments

        1. ORRTIZ-OFBiz-6976.pdf
          247 kB
          Pierre Smits

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              pierresmits Pierre Smits
              pierresmits Pierre Smits
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m