Skip to content

Isis 2758#623

Merged
danhaywood merged 11 commits intomasterfrom
ISIS-2758
Jun 20, 2021
Merged

Isis 2758#623
danhaywood merged 11 commits intomasterfrom
ISIS-2758

Conversation

@danhaywood
Copy link
Contributor

No description provided.

…questScoped

as this prevents it from being used in initial fixture scripts.

domain-app-demo/persist-all/simple-object-builder: Error creating bean with name 'scopedTarget.isis.webapp.ImpersonatedUserHolderUsingHttpSession': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
... as the refactored ImpersonatedUserHolder might do the trick
…java ee api;

... new impl of ImpersonatedUserHolderWithSession does the trick, it would seem.
@danhaywood danhaywood merged commit a176ece into master Jun 20, 2021
@andi-huber andi-huber deleted the ISIS-2758 branch October 1, 2022 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant