[jira] [Updated] (OFBIZ-6276) Fix deprecation issues in framework/entity

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

[jira] [Updated] (OFBIZ-6276) Fix deprecation issues in framework/entity

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Becker updated OFBIZ-6276:
---------------------------------
    Attachment: OFBIZ-6276-EntityStoreOptions.patch

Added new patch which removes the use of deprecated API and the deprecated API itself from Delegator and GenericDelegator.
   
Introduced the EntityStoreOptions class as mentioned in a comment before to substitute the createDummyFks parameter of storeAll method to avoid ambiguous API after removing the deprecated doCacheClear parameter.

The decryptFieldValue method, just defined deprecated by Jacopo is left there as deprecated. Only the "old" deprecated methods where removed.


> Fix deprecation issues in framework/entity
> ------------------------------------------
>
>                 Key: OFBIZ-6276
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6276
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>            Reporter: Adam Heath
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-6276-EntityStoreOptions.patch, OFBIZ-6276-variant-1.patch, OFBIZ-6276-variant-2.patch
>
>
> It appears that the storeAll() variants are being refactor; basically, the useCache parameter is being removed.  However, this has caused the
> entity engine to have deprecation with itself.



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