In error.log:
11.05.2023 14:00:32.043 *ERROR* [[0:0:0:0:0:0:0:1] [1683793832002] GET /editor.html/content/testing.html HTTP/1.1] com.adobe.cq.msm.ui.servlet.IsSourceRenderCondition path /content/testing.html to check render condition is not valid
11.05.2023 14:14:45.117 *ERROR* [[0:0:0:0:0:0:0:1] [1683794685067] GET /editor.html/content/aem-libs/us/en.html HTTP/1.1] com.adobe.cq.msm.ui.servlet.IsSourceRenderCondition path /content/aem-libs/us/en.html to check render condition is not valid
Solved! Go to Solution.
Views
Replies
Total Likes
This code has nothing to do with page rendering itself. This message is written as part of the /editor.html, which is the editing functioality.
Hi @vkarthick
The error message indicates that the render condition check for the given path is not valid. It's possible that there's an issue with the Sling Model, but it could also be caused by other factors. Here are some possible steps to try to resolve the issue:
Check if the Sling Model is properly configured and registered. Ensure that the @Model annotation is present and the Sling Model is being registered in the @Model(adaptables = Resource.class) and @Inject annotations. Verify that the model class is also mapped to the correct resource type.
Check if the JCR permissions for the path are correctly set. If the permissions are set incorrectly or are missing, it could prevent the content from being rendered. Ensure that the user has sufficient read permissions to access the resource.
Check if there are any errors in the logs. Look for any stack traces or error messages that might help diagnose the issue.
Check if the required bundles are active. Ensure that the required bundles are active in the OSGi console. You may need to install or activate a bundle if it's not currently active.
Verify if there are any issues with the dispatcher. Make sure the dispatcher is properly configured and all the dispatcher rules are properly defined.
If the above steps don't resolve the issue, try restarting the AEM instance or clearing the caches.
Please ignore this. (It should not be logged at all.)
Page is not rendering though, only html content is rendering not sling model.
This code has nothing to do with page rendering itself. This message is written as part of the /editor.html, which is the editing functioality.
@Jörg_Hoh I understand engineering resources are always strapped, but given this is an ERROR message spamming the log with false positive messages, is this anywhere on the radar for engineering to solve?
Views
Replies
Total Likes
Yes, maybe I should modify that log message
It will be fixed in one of the upcoming releases.
Views
Replies
Total Likes
Views
Likes
Replies