-
Notifications
You must be signed in to change notification settings - Fork 55
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
Deprecate unused PreDestroyCustomScopeEvent and PostConstructCustomScopeEvent #1707
Comments
+1
Paul A. Nicolucci ***@***.***> schrieb am Fr., 21. Okt. 2022,
19:38:
…
https://jakarta.ee/specifications/faces/4.0/apidocs/jakarta/faces/event/postconstructcustomscopeevent
https://jakarta.ee/specifications/faces/4.0/apidocs/jakarta/faces/event/predestroycustomscopeevent
The only use I know of was for the CustomScoped annotation
<https://jakarta.ee/specifications/faces/3.0/apidocs/jakarta/faces/bean/customscoped>
which has now been removed in Faces 4.0.
In addition is there any use case for:
https://jakarta.ee/specifications/faces/4.0/apidocs/jakarta/faces/event/scopecontext
post Faces 4.0?
—
Reply to this email directly, view it on GitHub
<#1707>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAS62KPA44LR6O47ULSDL3LWELIKLANCNFSM6AAAAAARLL52T4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
We can only mark it |
deprecate custom scope events which are unused since 4.0
Reopening. @pnicolucci said we cannot deprecate things in a minor version. So I've reverted it in Mojarra. We can only deprecate it in 5.0 and then remove in 6.0. |
scope events which are unused since 4.0" This reverts commit a18d500.
@BalusC There is no issue with the deprecation as long as we ensure it is not removed in 5.0, see this thread for additional details: https://www.eclipse.org/lists/faces-dev/msg00328.html |
Just as with As Paul mentioned, it looks to be used with jakarta.faces.bean.CustomScoped and JSF Managed Beans which were removed in 4.0. Best to removed rather than wait until Faces 6.0 to remove. |
custom scope events which are unused since 4.0"" This reverts commit 2ac516a.
Ok, I misunderstood. I reverted the revert. |
Discussed at 2023-09-19 Platform Project meeting:
|
Implemented in both Mojarra and MyFaces, closing off. |
Re-reading the "would have been removed", are you saying that it's totally fine to remove these without deprecation? |
https://jakarta.ee/specifications/faces/4.0/apidocs/jakarta/faces/event/postconstructcustomscopeevent
https://jakarta.ee/specifications/faces/4.0/apidocs/jakarta/faces/event/predestroycustomscopeevent
The only use I know of was for the CustomScoped annotation which has now been removed in Faces 4.0.
In addition is there any use case for: https://jakarta.ee/specifications/faces/4.0/apidocs/jakarta/faces/event/scopecontext post Faces 4.0?
The text was updated successfully, but these errors were encountered: