[CELUM-39] Asset Picker / Link Field shows Node-IDs, not folders Created: 02/May/22  Updated: 19/Oct/22  Resolved: 02/Aug/22

Status: Closed
Project: Celum DAM Connector
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.3

Type: Bug Priority: Neutral
Reporter: Christopher Chard Assignee: Raphael Falvo
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File celumLinkField_textInputAllowed_false_vs_true_1080.mov     PNG File screenshot-1.png    
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Expected:
After picking a Celum asset, the human-readable folder path is displayed in the link field in the dialog (e.g., /documents/misc/asset.pdf)

Actual:
After picking a Celum asset, the node-id path is displayed (e.g., /13021/1928/392)

Log shows this:
2022-05-02 18:05:45,931 INFO  info.magnolia.external.dam.celum.CelumAsset       : Cannot connect to content source Connection refused: connect

This was fixed previously by Teresa, but stopped working again around version 1.00 of the connector.

 



 Comments   
Comment by Raphael Falvo [ 09/May/22 ]

Hi cchard 

Which chooser are you using in this dialog ? Is it a celumLinkField type ?

Comment by Raphael Falvo [ 17/May/22 ]

Hello cchard ,

Thanks to the configuration you provided, I've been able to spot what the problem is here. Actually it's not something which disappeared, the behaviour depends on value defined on parameter textInputAllowed.

When set to false, user cannot enter anything in the field, it has to open the chooser and select an asset there. When it chooses an asset, the text field contains the asset name.

When set to true, user can enter an asset id in the field to pick an asset. It can also use the chooser, and then there was here an inconsistency as it was showing the entire path. It is now (in next beta) showing only the asset id, as you can see in attached video.

 

celumLinkField_textInputAllowed_false_vs_true_1080.mov

Comment by Christopher Chard [ 08/Jun/22 ]

Resolved with CELUM-42 !

Generated at Sun Feb 11 23:58:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.