[MAGNOLIA-9202] JCRPropertyHidingPredicate could hide also properties not specified by its parent node type (e.g. jcr:title) Created: 23/Oct/23  Updated: 12/Dec/23  Resolved: 12/Dec/23

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 6.2.39
Fix Version/s: 6.2.41

Type: Bug Priority: Neutral
Reporter: David Wei Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified
Environment:

Magnolia 6.2.39


Issue Links:
Problem/Incident
documentation
to be documented by DOCU-2949 DOC: Document JCR system properties Open
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MAGNOLIA-9223 Implementation Sub-task Completed Roman Kovařík  
MAGNOLIA-9224 Code review & Preint-QA Sub-task Completed Adam Siska  
MAGNOLIA-9225 QA Sub-task Completed Quach Hao Thien  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Team: Nucleus
Work Started:
Approved:
Yes

 Description   

Steps to reproduce

  1. define a system property start with 'jcr:' e.g.  jcr:title
    label: Test Page
    form:
      properties:
        jcr:title:
          $type: textField
          label: Title
          i18n: true
        title:
          $type: textField
          label: Title
          i18n: true
        
      layout:
        $type: tabbedLayout
        tabs:
          tabMain:
            label: Main tab
            fields:
              - name: jcr:title
              - name: title
    
  1. create a page 
  2. publish the page
  3. modify jcr:title value and publish the page
  4. jcr:title isn't updated for publish instance

.. Logs, screenshots, gifs...

Expected results

jcr:title should be updated. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

jcr:title is not updated.

Workaround

Development notes


Generated at Mon Feb 12 04:39:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.