Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
Trunk
-
None
Description
This is a placeholder issue.
Having correct data shipped with OFBiz is key to not only
- have a good operational state (meaning adopters can work with OFBiz out of the box)
- have a good data set for demonstration purposes
- 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
Attachments
Issue Links
- is part of
-
OFBIZ-3500 Umbrella issue for components dependency
- Open
- is related to
-
OFBIZ-6110 Move as much as possible demo data from ecommerce to product or order components
- Closed
-
OFBIZ-4674 Human Resource Manager Tree
- Closed
-
OFBIZ-9237 order entry initial screen does not show productStore
- Closed
-
OFBIZ-9238 order entry initial screen. customer auto suggestion does not work
- Closed
-
OFBIZ-11699 Have improvements to data-sets go into demo-stable
- Open
-
OFBIZ-5959 Add lifespan fields to PartyRole
- Closed
-
OFBIZ-5965 PartyRole Lifespan fields - Have PartyRole screens/forms work with the change
- Closed
-
OFBIZ-11713 Allow party selection only for appropriate request roles
- Closed
- supercedes
-
OFBIZ-11017 In demo data many parties are incorrectly set with role 'INTERNAL_ORGANIZATIO'
- Closed
- links to