Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Cannot Add or Edit Components in Touch UI

Avatar

Level 2

Seeing this issue across both development and stage on our AEM 6.5.12.0 instances, while working in Touch UI over this last week: "The issue is that periodically ALL components will have their edit options removed, just leaving the Insert and Group options." (Same issues as this thread and this thread, which had no resolutions)

 

Suddenly seeing only Copy, Group, and Convert to EFV:

JaredAtUD_0-1673463677729.png

 

Additionally, the add component button on any parsys has disappeared:

JaredAtUD_1-1673463915508.png

 

The above screenshots are from our stage environment on an administrator account. The same issue is present across other user logins. There are no obvious errors in the granite logs or the web browser console.

 

Fixes attempted without any results:

  • Reinstallation of UI (apps) packages seemed to temporarily restore some functionality sometimes? But then it would occur again very quickly.
  • Suggested Band-Aid fix from this thread to specify "cq:actions" in the cq:editConfig node across components has been unsuccessful in this case.
  • Reverted any recent changes to a git history period prior to when the issue began.
  • Traced back permissions being served to the render function for the menu options, and found the same issue as this post: "For the line starting return ns.pageInfoHelper.canModify(), I think there is some data missing in the page info json object. On my broken machine, I cannot see a permissions array."

 

Any insight/suggestions are appreciated.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

8 Replies

Avatar

Level 2

Components appear in all sidebar lists and pre-baked template areas as they're supposed to, yes.

Avatar

Level 5

@JaredAtUD  - Can you restart the server and start monitoring the error log and page console(check for any JS errors) to insight the issue first on page load.

Avatar

Level 2

From my original post: "There are no obvious errors in the granite logs or the web browser console."

 

Gave it another go on startup, regardless.

 

Granite logs:

JaredAtUD_0-1674151769842.png

 

Browser console:

JaredAtUD_1-1674151852938.png

In my development environment I'm still missing the ability to delete existing components or add new components to a parsys. In our stage environment, there's not even the option to edit.

 

Avatar

Level 2

We're working through a lot of code changes right now, so yes, there have been many code changes. It started happening after a seemingly harmless adjustment to some component HTL. When I noticed, I reverted back to a code commit before the issue was occurring. This didn't fix the problem though.

 

I've just attempted rolling back to a much, much earlier code commit (before our current feature branch) with the same result: Whatever is happening is unnaffected by our custom code it seems.

 

As for the version, we've been on 6.5.12 for a long while. No changes there.

Avatar

Level 5

@JaredAtUD - I suggest locally start testing with vanilla (AEM 6.5.12) & install custom code and begin test so you can find which is the root cause(custom js loading in authoring mode might be issue)