Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-3069

In update item/version API - use the Id arg and not item/version.getId()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • Frankfurt Release
    • None
    • None

      org.onap.sdc.common.versioning.persistence.types.InternalItem#populateExternalFields
      org.onap.sdc.common.versioning.persistence.types.InternalVersion#populateExternalFields

      shouldn't contain setId(item/version.getId()) because update API also calls this method and this should happen only for create API.

      need to move this setId to create APIs.

       

            talig talig
            talig talig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: