Highlighted

Created Collection is not visible on UI

Avatar

Avatar

Samer_Yadav

Avatar

Samer_Yadav

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

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
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

Avatar

Avatar

Samer_Yadav

Avatar

Samer_Yadav

Samer_Yadav

30-03-2019

Yes, I have checked. It is not getting visible.

Thanks

~S

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

31-03-2019

Are you seeing any browser or log error messages?

Highlighted

Avatar

Avatar

Samer_Yadav

Avatar

Samer_Yadav

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

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
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

Avatar

Avatar

Samer_Yadav

Avatar

Samer_Yadav

Samer_Yadav

01-04-2019

Yes Gaurav, It is creating the node as :

1723352_pastedImage_0.png

But there is deprecated XHR as :

1723353_pastedImage_1.png

Thanks

~S

Highlighted

Avatar

Avatar

Samer_Yadav

Avatar

Samer_Yadav

Samer_Yadav

03-04-2019

Hi Experts,

Does anyone has any idea on this issue?

Thanks

~S

Highlighted

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
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

Avatar

Avatar

Samer_Yadav

Avatar

Samer_Yadav

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