[jira] [Commented] (OFBIZ-7771) Rename loadDefault to something less ambiguous

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

[jira] [Commented] (OFBIZ-7771) Rename loadDefault to something less ambiguous

Nicolas Malin (Jira)

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

Pierre Smits commented on OFBIZ-7771:
-------------------------------------

Yes, it does matter what the 'default data' is..

So what does loadDefault mean?  What does 'the default' dataset  encompass? And to whom?


To the user demoing the solution: seed, seed-init, seed-ext, demo data?
To the tester loading all the seed, seed-initial, seed-ext, test data?
To the system admin who initiates a production environment: loading seed, seed-init and seed-ext data?
To a developer: ??

It all depends on the context.

> Rename loadDefault to something less ambiguous
> ----------------------------------------------
>
>                 Key: OFBIZ-7771
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7771
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>
> The gradle task loadDefault is ambiguous, as it means different things to different uses. This could lead to a situations where it is used in a wrong manner, resulting in data being overwritten.
> Having a more meaningful name lessens the risk of such situations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)