[MGNLCDEP-111] Missing referenced dependencies 6.2.2 Created: 10/Aug/20  Updated: 01/Feb/21  Resolved: 25/Jan/21

Status: Closed
Project: Content Dependencies
Component/s: None
Affects Version/s: 2.0.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Sang Ngo Huu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 2d
Original Estimate: Not Specified

Attachments: PNG File dependency-tab.png    
Issue Links:
Problem/Incident
causes MGNLCDEP-117 DOC: Missing referenced dependencies ... Closed
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
Testcase included:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: UI framework implementation
Sprint: UI FW 19, UI FW 20
Story Points: 5

 Description   

Steps to reproduce

  1. Follow our documentation at https://documentation.magnolia-cms.com/display/DOCS62/Content+Dependencies+module to configure dependencies tab for "/travel/about" page
  2. Open it you will see the dependencies of this page same to the documentation above

Expected results

The "/travel/about" page has more than above dependencies, see https://documentation.magnolia-cms.com/display/DOCS57/Content+Dependencies+module
You will see that we are having multiple dependents upon by and multiple depends on items in Pages app and Assets app

Actual results

you will see the dependencies of this page same to the documentation above 6.2.2

Workaround

No

Development notes

Notes to/from developers



 Comments   
Comment by Christopher Chard [ 19/Aug/20 ]

+1 for this

Comment by Christopher Chard [ 30/Oct/20 ]

Another +1 for this... this is a great enterprise-grade feature and its sad to not have it

Comment by Christopher Chard [ 04/Nov/20 ]

I checked with 6.2.3

Now I get an error:
com.vaadin.server.communication.PublishedFileHandler.handleRequest dependenciesField.css published by info.magnolia.module.dependencies.ui.field.DependenciesView not found. Verify that the file info/magnolia/module/dependencies/ui/field/dependenciesField.css is available on the classpath.

So somewhat worse than with 6.2.2 ...

Comment by Sang Ngo Huu [ 14/Jan/21 ]

After investigated, the field is working fine, what the missing is configuration. I tried to added the property linkTypepage: linkTypepage to the given configuration and it works:

#File /mte/dialogs/pages/pageProperties.yaml

form:
  properties:
    text:
      label: Title
      $type: textField
    referencesTo:
      $type: contentDependencies:dependenciesView
      referencesTo: true
      references:
        pages:
          appMapping: app:pages:browser
          workspace: website
          referenceProperties:
            link: link
            linkTypepage: linkTypepage
    referencesFrom:
      $type: contentDependencies:dependenciesView
      referencesTo: false
      references:
        pages:
          appMapping: app:pages:browser
          workspace: website
          referenceProperties:
            document: document
            download: download
            image: image
            linkTypepage: linkTypepage

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