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

Json string parameters as a service input are not recognized by OFBiz ServiceEventHandler.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • 14.12.01
    • None
    • None

    Description

      I was trying to pass the Json string as a input to a service, but is not recognized by ServiceEventHandler.

      Example Json String-

      {"faciltyId": "WebStoreWarehouse"}

      I worked on this issue and attached a patch here. Here I have used Jackson Json library for parsing.

      Attachments

        1. CommonEvents.java.patch
          2 kB
          Adrian Crum
        2. jackson-annotations-2.4.0.jar
          38 kB
          Amardeep Singh Jhajj
        3. jackson-core-2.4.2.jar
          220 kB
          Amardeep Singh Jhajj
        4. jackson-databind-2.4.2.jar
          1.03 MB
          Amardeep Singh Jhajj
        5. JSON.java.patch
          3 kB
          Adrian Crum
        6. OFBIZ-5790.patch
          5 kB
          Amardeep Singh Jhajj

        Issue Links

          Activity

            People

              jacopoc Jacopo Cappellato
              amardeepsj Amardeep Singh Jhajj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: