Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-5133

The createDataResourceRole service does not check if partyId exists

Details

    Description

      Hi all,

      The createDataResourceRole service has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a DataResourceRole value.

      The ensurePartyRole service also has a partyId attribute as optional but its implementation method does not check if the partyId exists before creating a PartyRole value.

      Regards,
      Chatree Srichart

      Attachments

        1. party_role_problem.patch
          3 kB
          Chatree Srichart

        Activity

          chatree Chatree Srichart created issue -
          chatree Chatree Srichart made changes -
          Field Original Value New Value
          Status Open [ 1 ] Patch Available [ 10002 ]
          chatree Chatree Srichart made changes -
          Attachment party_role_problem.patch [ 12568788 ]

          Thanks Chatree,

          Your patch is in
          trunk r1446876
          R12.04 r1446877
          R11.04 r1446883
          R10.04 r1446899

          jleroux Jacques Le Roux added a comment - Thanks Chatree, Your patch is in trunk r1446876 R12.04 r1446877 R11.04 r1446883 R10.04 r1446899
          jleroux Jacques Le Roux made changes -
          Fix Version/s Release Branch 11.04 [ 12316420 ]
          Fix Version/s SVN trunk [ 12311928 ]
          Fix Version/s Release Branch 12.04 [ 12321265 ]
          Fix Version/s Release Branch 10.04 [ 12314832 ]
          Assignee Jacques Le Roux [ jacques.le.roux ]
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Closed [ 6 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified