Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-561

Creating a block containing a hiddenField hides it completely on edit view

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 2.1.5
    • None

    Description

      Steps to reproduce

      1. Create a custom block for the Stories app.
      2. Add a field with the type "hiddenField" to the custom block.
      3. Enter and save some content within the block.
      4. Close the story and reopen it.
      5. Notice that the previously entered content is no longer visible on the editing page.

      Block definition:

      templateId: nfq-rod:blocks/hidden-test
      icon: file-image
      block:
        properties:
          testText:
            label: Hidden Test Text
            $type: textField
          type:
            $type: hiddenField
            defaultValue: hiddenTest 

      Expected results

      The block should be visible, with just the hidden field out of sight.

      Actual results

      The whole block isn't present on the edit view, but it's present on JCR.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              rgaona Roberto Gaona
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD