Highlighted

Created Collection is not visible on UI

Samer_Yadav

29-03-2019

Hi Experts,

We are creating the collection by using Create button on Collection page, but after creating it is not visible on page. Are there any setting/configuration for this ?

http://localhost:4502/mnt/overlay/dam/gui/content/collections.html/content/dam/collections

Thanks

~S

Replies

Highlighted

Gaurav-Behl

MVP

30-03-2019

Did you enabled "Public Collection" checkbox while creating it? It could possibly be a private collection vs public collection behavior.

Highlighted

Samer_Yadav

31-03-2019

No Scott. No any error and also the node is also creating at correct place. But only problem is it is not visible on UI.

After creation of collection below log is appearing and no error in to it.

31.03.2019 21:40:39.264 *INFO* [0:0:0:0:0:0:0:1 [1554082839258] POST /content/dam/collections.collection.html HTTP/1.1] com.nateyolles.aem.osgiannotationdemo.core.filters.SampleFelixFilter Felix Filter: request for /content/dam/collections

31.03.2019 21:40:39.344 *INFO* [EventAdminThread #17] com.nateyolles.aem.osgiannotationdemo.core.listeners.SampleFelixResourceListener Felix EventHander: org/apache/sling/api/resource/Resource/ADDED at: /content/dam/collections/public/I/I-JK1dUFCLOYE2B0s4XO/new

31.03.2019 21:40:39.346 *INFO* [EventAdminThread #2] com.nateyolles.aem.osgiannotationdemo.core.listeners.SampleFelixResourceListener Felix EventHander: org/apache/sling/api/resource/Resource/ADDED at: /content/dam/collections/public/I/I-JK1dUFCLOYE2B0s4XO/new/sling:members

31.03.2019 21:40:39.348 *INFO* [EventAdminThread #4] com.nateyolles.aem.osgiannotationdemo.core.listeners.SampleFelixResourceListener Felix EventHander: org/apache/sling/api/resource/Resource/CHANGED at: /content/dam/collections/public/I/I-JK1dUFCLOYE2B0s4XO/new

31.03.2019 21:40:45.065 *INFO* [0:0:0:0:0:0:0:1 [1554082845063] GET /content/dam/collections/I/I-JK1dUFCLOYE2B0s4XO/lightbox.folderthumbnail.jpg HTTP/1.1] com.nateyolles.aem.osgiannotationdemo.core.filters.SampleFelixFilter Felix Filter: request for /content/dam/collections/I/I-JK1dUFCLOYE2B0s4XO/lightbox

On below UI it is not appearing only 4 is appearing.

1722772_pastedImage_1.png

Are there are any configuration that we are missing?

Thanks

~S

Highlighted

Gaurav-Behl

MVP

01-04-2019

Does this behavior happen with admin credentials?

Could you investigate the XHR call to see your collection is getting picked up or not? Is your collection getting created at same location as other available collections?

Highlighted

Gaurav-Behl

MVP

04-04-2019

I understand that the node is created at same place but you didnt check the "XHR" call under "Network" tab to rule out any kind of ACL issues with your logged-in user.

check if your newly created node is returned in the list of items for that request or not?

Highlighted

Samer_Yadav

04-04-2019

Yes Gaurav.

1725298_pastedImage_0.png

here is the content of currentuserjson:

{"type":"user","authorizableId_xss":"admin","authorizableId":"admin","name_xss":"Administrator","name":"Administrator","home":"/home/users/I/I-JK1dUFCLOYE2B0s4XO","isImpersonated":false}

Thanks

~S