[
https://issues.apache.org/jira/browse/OFBIZ-7923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15402118#comment-15402118
]
Jacques Le Roux commented on OFBIZ-7923:
----------------------------------------
I quickly tried to move the DemoMarketing.xml file in marketing/data/ but using
component syntax does not work in ofbiz-component.xml files:
{code}
<entity-resource type="data" reader-name="demo" loader="main"
location="component://marketing/data/DemoMarketing.xml"/>
{code}
does not work, you get
{code}
2016-08-01 16:07:31,434 |main |EntityDataLoader
|W| Could not get URL for Component ResourceHandler:
org.apache.ofbiz.base.component.ComponentException: File Resource not found:
C:/projectASF-Mars/ofbiz/specialpurpose/ecommerce/component://marketing/data/DemoMarketing.xml
{code}
The loaded in ofbiz-component.xml refers to the local component, hence
*C:/projectASF-Mars/ofbiz/specialpurpose/ecommerce/component://marketing/data/DemoMarketing.xml*
We need another solution, or to code that there...later...
> Improve the Marketing Demo data
> -------------------------------
>
> Key: OFBIZ-7923
> URL: https://issues.apache.org/jira/browse/OFBIZ-7923
> Project: OFBiz
> Issue Type: Improvement
> Components: marketing
> Affects Versions: Trunk
> Reporter: Montalbano Florian
> Assignee: Jacques Le Roux
> Priority: Minor
> Labels: campaign, data, demo, marketing
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-7923.patch, OFBIZ-7923.patch
>
>
> In the following issue : OFBIZ-7922, there was a problem with the pagination
> of the Marketing Campaing list. Because there is not enough data in the demo,
> it was more difficult to find this bug.
> To help the testing of this component, we can add some Marketing Campaign in
> the demo data (at least enough to unlock a second page of search).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)