Tag component not working properly in Publish Instance | Community
Skip to main content
Level 2
February 24, 2016
Solved

Tag component not working properly in Publish Instance

  • February 24, 2016
  • 4 replies
  • 3188 views

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.
Best answer by JK_Kendall

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
Community Manager
Community Manager
February 25, 2016

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

Kautuk Sahni
Level 2
February 25, 2016

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

Level 2
March 2, 2016

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

JK_Kendall
JK_KendallAccepted solution
Level 9
March 7, 2016

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