Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Testing Sling Mock 3.5.0
-
None
Description
When calling context.load(), a content loader is created in a lazy way (when it's not there, it is instantiated and otherwise a cached instance is returned).
However, when instantiating this content loader, everything needed for XML & JSON is set up, regardless of calls to json() or xml() being made or not. This should also be done in a lazy way.
A specific issue that can be tackled this way is running parallel tests in combination with XML parsers and their ugly statics, interfering with each other.
This would tackle the "No page manager." / "No asset manager." errors that can be seen when using AemContext.
Attachments
Issue Links
- links to