[ https://issues.apache.org/jira/browse/TOBAGO-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Udo Schnurpfeil resolved TOBAGO-2122. ------------------------------------- Resolution: Fixed > TobagoContext: No state > ----------------------- > > Key: TOBAGO-2122 > URL: https://issues.apache.org/jira/browse/TOBAGO-2122 > Project: MyFaces Tobago > Issue Type: Bug > Affects Versions: 5.0.0 > Reporter: Udo Schnurpfeil > Assignee: Udo Schnurpfeil > Priority: Minor > Fix For: 5.1.0, 6.0.0 > > > The TobagoContext is currently in RequestScope and stores information about > the used theme and others. In some cases this object can't be injected. (It > also needs to run with CDI and SpringBoot.) > Problem: There are rare cases, there are two different objects inside the > same request. > Possible solution: The accessed via the TobagoContext should not stored > insite this object, but via FacesContext. > TobagoContext is than only a "helper util" to access information relevant to > Tobago. > The scope will be irrelevant, but shouldn't be changed in Tobago 5. But may > in Tobago 6. -- This message was sent by Atlassian Jira (v8.20.10#820010)