Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10008

Add mechanism to prevent the usage of EntitySyncRemove

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 18.12.01
    • framework
    • None

    Description

      No configurations is available to disable usage of EntitySyncRemove. And it's creating problems when having a large database and frequent delete operations.

      saveEntitySyncRemoveInfo is used to create EntitySyncRemove records in GenericDelegator.removeValue() and removeByPrimaryKey().

      The idea is to add a mechanism to prevent the usage of EntitySyncRemove by adding a property in general.properties file used to configure in entityengine.xml

      Tenants should be considered, OFBIZ-10468 has been created for that.

      Also I wondered if the test/filter should be part of saveEntitySyncRemoveInfo() (comment "don't store remove info on entities where it is disabled") but it would be diluted and is more appropriate at a higher level.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            deepak Deepak Dixit
            chandan.khandelwal Chandan Khandelwal
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment