Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-903

Database Table Connector incorrectly requires __NAME__ attribute within CREATE request

    XMLWordPrintable

    Details

      Description

      When performing a CREATE with the DB Table Connector, if the attribute defined as the _NAME_ is not specified in the CREATE payload, then an error is returned:

      {
          "code": 500,
          "reason": "Internal Server Error",
          "message": "The Name attribute cannot be null or empty."
      }
      

      The OpenICF "contract" does not mention that _NAME_ has to be in a CREATE operation and only requires that the _NAME_ is included in a list of attributes in the result of a SEARCH/GET

        Attachments

          Issue Links

            Activity

              People

              petr.jurica Petr Jurica [X] (Inactive)
              tom.wood Tom Wood
              Michal Orlik Michal Orlik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: