Flags not found | Community
Skip to main content
Level 2
Sep 4, 2023 8:13 AM UTC
Solved

Flags not found

Hi,

Our app logs are spammed with "flags not found" error. We have added the flags under apps/jr/clientlibs/clientlib-libs/resources/flags but still getting these errors. Any help on this would be helpful.

31.08.2023 00:12:21.577 *INFO* [23.79.243.152 [1693440741572] GET /content/lass/published-sites/in/en/r-r/r-rov/clientlib-libs/resources/flags/SK.png HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource /content/lass/published-sites/in/en/r-r/r-rov/clientlib-libs/resources/flags/SK.png not found
at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116) [org.apache.sling.featureflags:1.2.2]
at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116) [org.apache.sling.featureflags:1.2.2]
at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116) [org.apache.sling.featureflags:1.2.2]
at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116) [org.apache.sling.featureflags:1.2.2]
at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116) [org.apache.sling.featureflags:1.2.2]

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
Sep 4, 2023 1:27 PM UTC

Hi,

 

Please make sure:

1. The name of the folder is called "resources"

2. This folder must be a direct child of thecq:ClientLibraryFolder node.

3. You have set the property allowProxy to true in your clientLib

4. You access the folder the same way you will access your clientLibs, i.e: /etc.clientlibs/geometrixx/components/clientlibs/resources/example.gif 

 

All the details can be found here: https://experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/clientlibs.html?lang=en#locating-a-client-library-folder-and-using-the-proxy-client-libraries-servlet 

Esteban Bustamante

2 replies

A_H_M_Imrul
New Participant
Sep 4, 2023 2:01 PM UTC

Hello @santhoshas1 ,

 

In addition with steps from @estebanbustamante you need to have Read permission for anonymous (assuming you are trying to access from publish server) user on the etc node.

 

Thanks

 

 

Translate
EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
Sep 4, 2023 1:27 PM UTC

Hi,

 

Please make sure:

1. The name of the folder is called "resources"

2. This folder must be a direct child of thecq:ClientLibraryFolder node.

3. You have set the property allowProxy to true in your clientLib

4. You access the folder the same way you will access your clientLibs, i.e: /etc.clientlibs/geometrixx/components/clientlibs/resources/example.gif 

 

All the details can be found here: https://experienceleague.adobe.com/docs/experience-manager-65/developing/introduction/clientlibs.html?lang=en#locating-a-client-library-folder-and-using-the-proxy-client-libraries-servlet 

Translate
Esteban Bustamante