Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.0-RC2
-
None
Description
Currently we inject the "MetaModelContext" object (from which the regular InteractionService is retrieved) into the AuthenticatedWebSessionForCauseway override, via an init method.
However, this field is marked as transient, so under certain circumstances it seems as though this field may become null, resulting in NPEs/500 errors thereafter.
A more robust design would simply be to lookup the MetaModel from the CausewayWicketApplication, which is available always through a static singleton method CausewayWicketApplication.get().
Attachments
Issue Links
- links to