This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 62031a4 Fixed: When creating blog or forums, it failed to save (OFBIZ-10426) 62031a4 is described below commit 62031a4fbb7b8abf16d313a480a43357ab129fdf Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Tue Mar 2 19:49:04 2021 +0100 Fixed: When creating blog or forums, it failed to save (OFBIZ-10426) Create a blog or forum and click save button, it will popup with error message. The reason is because the mapKey passed from front end cannot be handled by the service. The solution is not to pass the mapKey to the service. Steps: 1) navigate to content/control/blogContent?blogContentId=BLOGROOTBIGAL 2) create a new article content/control/EditBlogArticle?blogContentId=BLOGROOTBIGAL Thanks: Jason Hao for report and Aman Mishra for the fix --- applications/content/minilang/blog/BlogServices.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/applications/content/minilang/blog/BlogServices.xml b/applications/content/minilang/blog/BlogServices.xml index 3a23d72..63f7951 100644 --- a/applications/content/minilang/blog/BlogServices.xml +++ b/applications/content/minilang/blog/BlogServices.xml @@ -101,7 +101,6 @@ <if-not-empty field="parameters.summaryData"> <!-- create the summary data --> <set field="createSummary.dataResourceTypeId" value="ELECTRONIC_TEXT"/> - <set field="createSummary.contentPurposeTypeId" value="ARTICLE"/> <set field="createSummary.dataTemplateTypeId" value="NONE"/> <set field="createSummary.mapKey" value="SUMMARY"/> <set field="createSummary.ownerContentId" from-field="ownerContentId"/>