You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "yao (JIRA)" <ji...@apache.org> on 2017/05/22 04:50:04 UTC

[jira] [Created] (OFBIZ-9373) create new blog article entry error.

yao created OFBIZ-9373:
--------------------------

             Summary: create new blog article entry error.
                 Key: OFBIZ-9373
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9373
             Project: OFBiz
          Issue Type: Bug
          Components: content
    Affects Versions: Trunk
            Reporter: yao


1、when i try to create a new blog article, i get the following error message:
              In field [articleData] less-than (<) and greater-than (>) symbols are not allowed.

it seems that this field does not support html text !

2、after i use plain text for the field [articleData], when i post the form, i get the following error message:
                The following required parameter is missing: [IN] [createElectronicText.dataResourceId]]

and i go through the code that handles the request and the log record, to find that the following eca does not execute which causes the error:
             
<!-- electronic text; needs dataResourceId -->
    <eca service="createElectronicText" event="invoke">
        <condition field-name="dataResourceId" operator="is-empty"/>
        <set field-name="dataResourceTypeId" value="ELECTRONIC_TEXT"/>
        <action service="createDataResource" mode="sync" result-to-context="true"/>
    </eca>

does the problem lies in the framework code ?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)