[jira] [Commented] (OFBIZ-7923) Improve the Marketing Demo data

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-7923) Improve the Marketing Demo data

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-7923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15396896#comment-15396896 ]

Jacques Le Roux commented on OFBIZ-7923:
----------------------------------------

Actually you don't even have to add more data. The size of the list is defined by this property in widget.properties
{code}
# Default number of items to be displayed per page in a list form
widget.form.defaultViewSize=20
{code}
Locally you can change that by hand, clear caches, et voilĂ .

Now if we would like to have the same on demos we would need to have this property in the DB and use EntityUtilProperties.getPropertyNumber() to retrieve where it's done at the moment. Unfortunately EntityUtilProperties.getPropertyNumber() simply uses for the moment UtilProperties.getPropertyNumber() so it means more work than adding those data. But once done, it's for all (though you would still have to replace the calls where UtilProperties is used instead of EntityUtilProperties. I don't remember if we have an umbrella task ans subtasks for that. It seems though a long term work, because we have much properties likely to benefit from this possibility.

Another KISS option: maybe simply testing locally is sufficient ;)


> 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
>            Priority: Minor
>              Labels: campaign, data, demo, marketing
>         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)