[jira] [Commented] (OFBIZ-10393) Remove `createContent` Java service implementation

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

[jira] [Commented] (OFBIZ-10393) Remove `createContent` Java service implementation

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-10393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473021#comment-16473021 ]

Jacques Le Roux commented on OFBIZ-10393:
-----------------------------------------

Hi Deepak,

bq. As we have createContent service in minilang, and it should be converted to entity auto.

Yes, but so far we don't handle automated status creation in entity auto (invokeCreate method) as it's currently done in createContent and createDataResource services Minilang implementations. Where if no status is passed to the service, the 1st one in the CONTENT_STATUS list is picked, here IN_PROGRESS. Maybe we could though generalise this concept in invokeCreate method. I know that Nicolas let the status apart when he implemented the cancel operation https://markmail.org/message/75tz2p7u5e6ji2l3. But here it seems easier to implement. To be checked...

> Remove `createContent` Java service implementation
> --------------------------------------------------
>
>                 Key: OFBIZ-10393
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10393
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: content
>            Reporter: Mathieu Lirzin
>            Assignee: Deepak Dixit
>            Priority: Trivial
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10393-improved-Remove-createContent-Java-service-implement.patch
>
>
> The `createContent` service has been replaced by a minilang implementation since 2007



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)