You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/03/20 07:49:00 UTC
[jira] [Commented] (OFBIZ-9501) Move all data in applications to the datamodel component
[ https://issues.apache.org/jira/browse/OFBIZ-9501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828643#comment-17828643 ]
ASF subversion and git services commented on OFBIZ-9501:
--------------------------------------------------------
Commit d400e0f41e51f4807828e4504f16cb859267d314 in ofbiz-plugins's branch refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git;h=d400e0f41 ]
Fixed: variant tree product features are being lost in product config
(OFBIZ-12020)
OFBIZ-10194 is not related at all. What makes me think so is that when you use
https://demo-next.ofbiz.apache.org/ecomseo/product/Scanning-book-service-CFSV1001.html
it's OK
But when you use
https://demo-trunk.ofbiz.apache.org/ecomseo/product/Scanning-book-service-CFSV1001.html
we have a problem.
I don't know what changed but it's not the rendering template
(ConfigProductDetail.ftl) last change was 6 years ago.
Nor the data used in the template (OrderDemoData.xml) which have not changed
since OFBIZ-9501. Maybe the FreeMarker version? But I quite doubt is that.
Anyway here is a fix with some help of FreeMarker advice in log.
I checked it had no bad influence on other services:
ecomseo/category/service-product-SERV-001.html
> Move all data in applications to the datamodel component
> --------------------------------------------------------
>
> Key: OFBIZ-9501
> URL: https://issues.apache.org/jira/browse/OFBIZ-9501
> Project: OFBiz
> Issue Type: Improvement
> Components: ALL APPLICATIONS
> Affects Versions: 17.12.01
> Reporter: Taher Alkhateeb
> Assignee: Rishi Solanki
> Priority: Minor
> Labels: application, data
> Fix For: 18.12.01
>
> Attachments: OFBIZ-9051-004.patch, OFBIZ-9501-001.patch, OFBIZ-9501-002.patch, OFBIZ-9501-003.patch, OFBIZ-9501-DemoData.patch, OFBIZ-9501-WorkEffortSeedData.patch, OFBIZ-9501_Consolidated-2.patch, OFBIZ-9501_Consolidated.patch
>
>
> As per a community [discussion thread|https://lists.apache.org/thread.html/eb6ea79195204356a362dbf208c5dbb6d321d001bf2b79819dc45a24@%3Cdev.ofbiz.apache.org%3E] we decided to move all data (seed, seed-initial, demo) to the datamodel component. and to also reduce and cleanup this data to ease debugging and maintenance.
> After moving all the data, the directory and file structure would be similar to the below:
> data/
> ├── demo
> │ ├── AccountingDemoData.xml
> │ ├── CommonDemoData.xml
> │ ├── ContentDemoData.xml
> │ ├── HumanresDemo.xml
> │ ├── ManufacturingDemoData.xml
> │ ├── MarketingDemoData.xml
> │ ├── OrderDemoData.xml
> │ ├── PartyDemoData.xml
> │ ├── ProductDemoData.xml
> │ ├── ShipmentDemoData.xml
> │ └── WorkEffortDemoData.xml
> ├── seed
> │ ├── AccountingSeedData.xml
> │ ├── CommonSeedData.xml
> │ ├── ContentSeedData.xml
> │ ├── HumanresSeedData.xml
> │ ├── ManufacturingSeedData.xml
> │ ├── MarketingSeedData.xml
> │ ├── OrderSeedData.xml
> │ ├── PartySeedData.xml
> │ ├── ProductSeedData.xml
> │ ├── ShipmentSeedData.xml
> │ └── WorkEffortSeedData.xml
> └── seed-initial
> ├── AccountingSeedInitialData.xml
> ├── CommonSeedInitialData.xml
> ├── ContentSeedInitialData.xml
> ├── HumanresSeedInitialData.xml
> ├── ManufacturingSeedInitialData.xml
> ├── MarketingSeedInitialData.xml
> ├── OrderSeedInitialData.xml
> ├── PartySeedInitialData.xml
> ├── ProductSeedInitialData.xml
> ├── ShipmentSeedInitialData.xml
> └── WorkEffortSeedInitialData.xml
--
This message was sent by Atlassian Jira
(v8.20.10#820010)