Jason Hao created OFBIZ-10426:
---------------------------------
Summary: When creating blog or forums, it failed to save
Key: OFBIZ-10426
URL:
https://issues.apache.org/jira/browse/OFBIZ-10426 Project: OFBiz
Issue Type: Bug
Components: ecommerce
Affects Versions: Trunk
Reporter: Jason Hao
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.
ERROR: Could not complete the Post a new Content article Entry [file:/Users/explorer/Documents/ofbiz/ofbiz-framework/applications/content/minilang/content/ContentServices.xml#createArticleContent] process [problem invoking the [createTextContent] service with the map named [createText] containing [\{userLogin=[GenericEntity:UserLogin][createdStamp,2018-06-01 21:38:24.088(java.sql.Timestamp)][createdTxStamp,2018-06-01 21:38:24.086(java.sql.Timestamp)][currentPassword,{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,Asia/Shanghai(java.lang.String)][lastUpdatedStamp,2018-06-02 03:00:52.632(java.sql.Timestamp)][lastUpdatedTxStamp,2018-06-02 03:00:52.632(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,0(java.lang.Long)][userLdapDn,null()][userLoginId,admin(java.lang.String)], textData=hello, dataTemplateTypeId=NONE, mapKey=MAIN, contentIdFrom=ASK, description=hello, partyId=admin, locale=en_US, dataResourceTypeId=ELECTRONIC_TEXT, contentName=hell world}]: Unknown parameter found: [createTextContent.contentIdFrom]Unknown parameter found: [createTextContent.mapKey]]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)