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

Adjust spec to state that #{cc} must be resolved using EL instead of CDI #2003

Open
wants to merge 1 commit into
base: 5.0
Choose a base branch
from

Conversation

BalusC
Copy link
Member

@BalusC BalusC commented Feb 1, 2025

Moving #{cc} resolution from EL to CDI during Faces 4.0 was a mistake. This primarily because within a single EL resolution, the #{cc} can refer different composite components depending on the nesting level and whether a nested one references the attribute of a parent one. This worked with Weld because it re-resolved the #{cc} on every access, but not with OWB because it caches the result for the duration of the single EL resolution. This ultimately caused an infinite loop when attempting to reference the #{cc} of the parent composite. There's nothing in CDI spec which forbids OWB's behavior.

Related issue ticket: #1564 (comment)

Mojarra impl fix: eclipse-ee4j/mojarra#5549

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