Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PageSession stored directly to view scope #90

Conversation

OndroMih
Copy link
Contributor

Storing into a map in view scope preferred page session over view session. But in JSF there's no page session, view scope is equivalent, the old page scope should be the same as JSF view scope.

This should fix eclipse-ee4j/glassfish#24383 and potentially some other issues in GlassFish, which were introduced by #82.

@OndroMih
Copy link
Contributor Author

@avpinchuk , @arjantijms , please review.

@avpinchuk
Copy link
Contributor

avpinchuk commented Apr 22, 2023

@OndroMih, Looks good. I build GF and try to deploy and undeploy a simple war via Admin Console. All works.

@avpinchuk
Copy link
Contributor

But why not use simple raw (Map) instead of .class.cast()?

@OndroMih
Copy link
Contributor Author

OndroMih commented Apr 22, 2023

But why not use simple raw (Map) instead of .class.cast()?

You're right, why not. I've changed it :)

Storing into a map in view scope preferred page session over view session. But in JSF there's no page session, view scope is equivalent, the old page scope should be the same as JSF view scope.
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
More efficient if the target class is known.
Signed-off-by:Ondro Mihalyi <mihalyi@omnifish.ee>
@OndroMih OndroMih force-pushed the ondromih-fix-gf-24383-page-session-preceedes-request-scope branch from dada8ef to 7904fd0 Compare April 22, 2023 22:02
@OndroMih
Copy link
Contributor Author

@avpinchuk , please approve again. I had to fix the author information in my commits and force push to fix the ECA issue.

@arjantijms arjantijms added the bug Something isn't working label Apr 23, 2023
@arjantijms arjantijms added this to the 4.0.1 milestone Apr 23, 2023
@arjantijms arjantijms merged commit edaefc9 into eclipse-ee4j:master Apr 23, 2023
@Megnatis
Copy link

Not working deploy war file in glassfish 7.0.3 ->GUI internal error: Archive Path is NULL

@OndroMih
Copy link
Contributor Author

This is fixed in GlassFish 7.0.4.

@avpinchuk avpinchuk mentioned this pull request Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't deploy applications from Admin Console from a local packaged file or directory
4 participants