Skip to content

[OFBIZ-10399] Remove deprecated in parameters and its usage from create content service - #1587

Open
vyasdevanshu wants to merge 1 commit into
apache:trunkfrom
vyasdevanshu:OFBIZ-10399
Open

[OFBIZ-10399] Remove deprecated in parameters and its usage from create content service#1587
vyasdevanshu wants to merge 1 commit into
apache:trunkfrom
vyasdevanshu:OFBIZ-10399

Conversation

@vyasdevanshu

@vyasdevanshu vyasdevanshu commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Summary

Removed deprecated IN parameters and their usage from the createContent service and related service calls.

Key Changes

  • services_content.xml: Removed deprecated IN/INOUT attributes (targetOperationList, targetOperationString, contentPurposeList, contentPurposeString, skipPermissionCheck, displayFailCond, roleTypeList) and deprecated comments from createContent service definition.
  • ContentEvents.xml: Removed setting targetOperationList in context prior to calling createContent.
  • ContentManagementServices.java: Removed setting deprecated permission check parameters (displayFailCond, skipPermissionCheck) prior to calling createContent and createContentAssoc.
  • ContentManagementEvents.java: Cleaned up obsolete parameter entries (roleTypeList, targetOperationList, contentPurposeList) and legacy TODO comments prior to calling createContentAssoc.
  • ContentTests.groovy: Added unit test coverage (testCreateContent, testPersistContentAndAssoc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants