Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-8408 Convert existing CRUD services into entity-auto
  3. OFBIZ-10401

Migrate createContent service from Minilang to Entity Auto

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • 18.12.01
    • content
    • None

    Description

      This follows OFBIZ-10393 where things started.

      Deepak suggested to use entity auto for createContent service, but 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. So using Groovy for these services seems to fit.

      We still need to decide to use blank or the same than currently exists. For the sake of historic compatibility I suggest to keep the same.

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              jleroux Jacques Le Roux
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: