[jira] [Closed] (OFBIZ-9373) Create new blog article entry error.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-9373) Create new blog article entry error.

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-9373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-9373.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 16.11.03

Thanks Daniel,

You are right, this was an error in [r1765319|http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services_data.xml?r1=1765319&r2=1765318&pathrev=1765319] There was no reason to change in createElectronicText
<auto-attributes include="pk" mode="IN" optional="false"/>
to
<auto-attributes include="pk" mode="INOUT" optional="false"/>

Fixed in
trunk r1799088
R16.11 r1799089




> 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
>            Assignee: Jacques Le Roux
>             Fix For: 16.11.03
>
>
> 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.4.14#64029)