Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-312

(Norsu) Contenttype model with no 'name' property shows two 'title' fields in editor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • None
    • None

    Description

      Create a content type with a model with no name property and 1 'title' property. Open the editor subapp.

      Expected:

      A 'name' and a 'title' property.

      Actual:

      Two 'title' properties.

      Notes:

      I'm not sure if this is something for DevX or Nucleus team.

      On JCR the form shows a "Name" and a "Title" field.

      So I think the two problems is that

      • Norsu is autocreating a field with the llabel "Title", whereas I expect the label to be "Name".
      • Also in the browser - it has a column named "Title" but I expect it to be "Name".

       

      Details:

      Interestingly I can put content in both of them - and the content is dissplayed when I oppen it again.

      And interestingly - the JSON response: 

      {
          "total": 1,
          "limit": 50,
          "offset": 0,
          "results": [
              {
                  "@metadata": {
                      "@id": "4eb86ef9-4d32-4b9e-98df-f1fcff93877d",
                      "@path": "/norsu-nametest/I am the first title",
                      "@name": "I am the first title"
                  },
                  "title": "I am the second title"
              }
          ]
      } 

       

      Content Model:

      datasource:
        $type: norsuContentTypeDatasource
        workspace: norsu-nametest
        autoCreate: true
        
      model:
        nodeType: nametest
        properties:
          title:
            label: Title
            i18n: true
            required: true
       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                oanh.thai Oanh Thai Hoang
                czimmermann Christopher Zimmermann
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1.25d
                      1.25d