Author: jleroux Date: Thu Aug 8 15:52:04 2019 New Revision: 1864721 URL: http://svn.apache.org/viewvc?rev=1864721&view=rev Log: Fixed: In Product Image Management Uploading file fails due to missing StatusValidChange (OFBIZ-11148) The error is java.lang.Exception: Error in Service [updateContent]: Error: status change from [CTNT_IN_PROGRESS] to [IM_PENDING] is not allowed.
The issue does not exist in R16. So I guess it's because of OFBIZ-9907. Modified: ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/ContentSeedData.xml Modified: ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/ContentSeedData.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/ContentSeedData.xml?rev=1864721&r1=1864720&r2=1864721&view=diff ============================================================================== --- ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/ContentSeedData.xml (original) +++ ofbiz/ofbiz-framework/trunk/applications/datamodel/data/seed/ContentSeedData.xml Thu Aug 8 15:52:04 2019 @@ -178,6 +178,7 @@ under the License. <StatusValidChange statusId="CTNT_IN_PROGRESS" statusIdTo="CTNT_INITIAL_DRAFT" transitionName="First draft"/> <StatusValidChange statusId="CTNT_IN_PROGRESS" statusIdTo="CTNT_PUBLISHED" transitionName="published, not revised"/> <StatusValidChange statusId="CTNT_IN_PROGRESS" statusIdTo="CTNT_AVAILABLE" transitionName="Available"/> + <StatusValidChange statusId="CTNT_IN_PROGRESS" statusIdTo="IM_PENDING" transitionName="Image Pending"/> <StatusValidChange statusId="CTNT_INITIAL_DRAFT" statusIdTo="CTNT_REVISED_DRAFT" transitionName="Draft revised"/> <StatusValidChange statusId="CTNT_INITIAL_DRAFT" statusIdTo="CTNT_PUBLISHED" transitionName="Initial draft published"/> <StatusValidChange statusId="CTNT_REVISED_DRAFT" statusIdTo="CTNT_FINAL_DRAFT" transitionName="Final draft"/>