Skip to main content
Level 2
Feb 24, 2016 11:34 AM UTC
Solved

Tag component not working properly in Publish Instance

We are re-using the out-of-box tag component which is already available inside the /libs/foundation/component/forms folder.  

In Author mode, everything is working fine as expected but when it comes to Publish mode the fields associated with tag component are not getting displayed to perform the tagging operations.

Moreover, when I checked for the errors available in the console of the browser. I'm getting the below error

Uncaught TypeError: Cannot read property 'TagInputField' of undefined

Please check the attachment - I have added the screenshot of the issue I'm facing

Kindly help me out in resolving the issue.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
JK_Kendall
JK_KendallAccepted solution
Level 9
Mar 7, 2016 3:59 PM UTC

From Administering Tags : Setting Tag Permissions :

"As of AEM 6.1, 'secure (by default)' is now a best practice for the publish environment that requires read permission to be explicitly allowed for tags.  Bascially, this is done by creating a package of the Tag Namespace after permissions have been set on author, and installing the package on all publish instances."

- JK

4 replies

kautuk_sahni
Level 9
Feb 25, 2016 7:24 AM UTC

Hi 

Please have a look at this forum post, i hope this could help you.

Link:- https://forums.adobe.com/thread/1188441?tstart=0

I would request you to also look at error.log to further debug this.

 

Thanks and Regards

Kautuk Sahni

Translate
Kautuk Sahni
Level 2
Feb 25, 2016 1:49 PM UTC

I have looked at the error.log there is nothing wrong/peculiar with respect to the tagging component.

Everything seems to be fine

Please check the attachment on the type of error I'm getting when the link is being clicked

Translate
Level 2
Mar 2, 2016 7:44 AM UTC

ShyamSundar wrote...

We are re-using the out-of-box tag component which is already available inside the /libs/foundation/component/forms folder.  

In Author mode, everything is working fine as expected but when it comes to Publish mode the fields associated with tag component are not getting displayed to perform the tagging operations.

Moreover, when I checked for the errors available in the console of the browser. I'm getting the below error

Uncaught TypeError: Cannot read property 'TagInputField' of undefined

Please check the attachment - I have added the screenshot of the issue I'm facing

Kindly help me out in resolving the issue.

 

I have looked at the error.log there is nothing wrong with respect to the tagging component. Everything seems to be fine.
Please check the attachment on the type of error I'm getting when the link is being clicked

Does anyone have faced a similar kind of an issue and any suggestions on how to troubleshoot the issue.

Kindly let me know

Thanks

Translate
JK_Kendall
JK_KendallAccepted solution
Level 9
Mar 7, 2016 3:59 PM UTC

From Administering Tags : Setting Tag Permissions :

"As of AEM 6.1, 'secure (by default)' is now a best practice for the publish environment that requires read permission to be explicitly allowed for tags.  Bascially, this is done by creating a package of the Tag Namespace after permissions have been set on author, and installing the package on all publish instances."

- JK

Translate