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

Convert Party entites CRUD service from simple to entity-auto

    XMLWordPrintableJSON

Details

    Description

      I converted CRUD service to entity-auto for :
      PartyRole
      PostalAddressBoundary
      PartyClassification
      PartyClassificationGroup
      PartyAttribute
      Vendor
      PartyCarrierAccount

      Only entity with their services present on PartyServices.xml

      I change the PartyRole attributes service like that

      -        <attribute name="partyId" type="String" mode="IN" optional="true"/>
      -        <attribute name="roleTypeId" type="String" mode="IN" optional="false"/>
      +        <auto-attributes include="pk" mode="IN" optional="false"/>
      

      The currently simple method haven't a specific resolution if the partyId isn't pass, so the service failed with database constraint error.

      I run manual test from Party Profile screen with success (except for PostalAddressBoundary that haven't standard screen, so call by runService) and I run ./ant clean-all load-demo run-tests without error

      Attachments

        1. OFBIZ-5750.patch
          23 kB
          Nicolas Malin
        2. OFBIZ-5750.patch
          3 kB
          Taher Alkhateeb

        Activity

          People

            jleroux Jacques Le Roux
            nmalin Nicolas Malin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: