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
BedrockMission!

Learn More

View all

Sign in to view all badges

CQ/moments is not defined

Avatar

Avatar
Validate 1
Level 1
BertoltMeier
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
BertoltMeier
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
BertoltMeier
Level 1

31-08-2016

In my project, we have set up a AEM package containing ACLs, user and groups definitions. This worked perfectly well in AEM6.1: ACL, user and groups were installed and are working. 

I tried to install the same package in AEM6.2. The installation works well and the permissions are also set as desired. But after a restart, the project explorer and sitedamin do only display a white page and the JS console of the browser show an error "Uncaught ReferenceError: CQ is not defined" (for project explorer: "Uncaught ReferenceError: moments is not defined").

 

Anybody had this behaviour before?

View Entire Topic

Avatar

Avatar
Boost 5
Employee
vmehrotr
Employee

Likes

19 likes

Total Posts

43 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile

Avatar
Boost 5
Employee
vmehrotr
Employee

Likes

19 likes

Total Posts

43 posts

Correct Reply

5 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Applaud 5
View profile
vmehrotr
Employee

16-09-2016

Closing the thread with daycare solution

The reason is that it overwrites the existing Access Control List and only the Access Control Lists from your package remain valid. 
Therefore you will have to change AC Handling in the Advanced tab when compiling the package.
At the moment you have Overwrite in there which is why you get your problems. 
You should have MergePreserve in there so that the existing ACLs do not get overwritten.

This should solve the problem.