[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=15372260#comment-15372260 ]

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

To me this is issue is very clear. Default means different things in different contexts. Thus what gets loaded should be adjustable through a configuration setting, Now, Taher has posted earlier that it is the OFBiz server that determines what get loaded. To me that sounds like something hardcoded.

Then tell me where the default dataset is defined that gets loaded with this loadDefault task, because I haven't been able to find it in the code base. So that I can adjust according to the different existing contexts that any adopter/user can have. and then indeed we can close this issue with the resolution 'not an issue'.


> 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
>            Priority: Trivial
>
> 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)