[CONTEDIT-561] Creating a block containing a hiddenField hides it completely on edit view Created: 28/Jun/23  Updated: 06/Jul/23

Status: Open
Project: Content Editor
Component/s: None
Affects Version/s: 2.1.5
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Roberto Gaona Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: AuthorX Support
Team: AuthorX

 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.


Generated at Mon Feb 12 00:21:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.