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

Error when call "updateNote" service.

    Details

      Description

      The "updateNote" service is entity auto and primary keys set IN and OUT but the entity auto engine does not return primary keys. On entity definition we should change pk attribute mode to be "IN".

      Error message:

      Outgoing result (in runSync : updateNote) does not match expected requirements (The following required parameter is missing: [OUT] [updateNote.noteId])]

      1. ofbiz-bug-6209.patch
        0.7 kB
        Supachai Chaima-ngua (Tor)

        Activity

        Hide
        soledad Nicolas Malin added a comment -

        Thanks Supachai Chaima-ngua, your patch it's in :
        trunk r1670952
        14.12 r1670954

        The problem is (was) visible when you update a quote note that call updateNote.

        Show
        soledad Nicolas Malin added a comment - Thanks Supachai Chaima-ngua, your patch it's in : trunk r1670952 14.12 r1670954 The problem is (was) visible when you update a quote note that call updateNote.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Backported in
        R13.07 r1671000
        R12.04 r1671001

        Show
        jacques.le.roux Jacques Le Roux added a comment - Backported in R13.07 r1671000 R12.04 r1671001
        Hide
        tomas.pytelka Tomas Pytelka added a comment -

        In the "release 14.12" is error caused by the application of this patch. In that release is updateNote method implemented using simple language and not using the auto-engine like trunk version. Simple method implementation requires to set primary key to the "INOUT" as it returns noteId. Please revert application of this patch on earlier versions.

        Show
        tomas.pytelka Tomas Pytelka added a comment - In the "release 14.12" is error caused by the application of this patch. In that release is updateNote method implemented using simple language and not using the auto-engine like trunk version. Simple method implementation requires to set primary key to the "INOUT" as it returns noteId. Please revert application of this patch on earlier versions.
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Thanks Tomas, reverted in
        R14.12 r1726145
        R13.07 r1726147
        R12.04 r1726146

        Show
        jacques.le.roux Jacques Le Roux added a comment - Thanks Tomas, reverted in R14.12 r1726145 R13.07 r1726147 R12.04 r1726146

          People

          • Assignee:
            soledad Nicolas Malin
            Reporter:
            tortechnocom Supachai Chaima-ngua (Tor)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development