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

Taher Alkhateeb commented on OFBIZ-7771:
----------------------------------------

loadDefault does not load all datasets and hence the name loadAllDatasets is wrong. Please read what I wrote above!

Furthermore, the other variations are not needed with shortcut tasks because they are specific to each user, you can call them with the readers argument yourself. It's all documented in the README.md

> 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: Minor
>
> 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)