Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21227

[Rest API] Copy content type will create copy identifier wrongly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.2-dev
    • Fix Version/s: QA tracked issues, 5.2-alpha1
    • Component/s: Platform > REST API v2
    • Labels:
    • Environment:

      Server OS: Debian
      PHP: 5.3.22
      Database: MySQL 5.1.61
      Browser: Firefox 20

    • Sprint:
      Aconcagua Sprint 4

      Description

      Copying a content type will give the wrong identifier name to the copy:

      original identifier: testing
      copy identifier: testing_db0491278ca60a4fcce6b858cf472aad
      

      Steps:
      (on Admin interface)
      1 - create content type

      • Name: CType test
      • Identifier: testing
        2 - Add a ezstring identifier with Name: "name"

      (on a REST client)
      1 - do a request

      • type: "COPY"
      • url: /api/content/types/48
        (where 48 is the new content type ID)

      (on Admin interface)
      1 - Verify the identifier of the copy content type

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 30 minutes
                  4h 30m