[JBoss JIRA] (JBMETA-371) DefaultPropertyReplacer + PropertyResolver is broken for vault expressions
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBMETA-371?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on JBMETA-371:
------------------------------------------------
Jimmy Wilson <jawilson(a)redhat.com> changed the Status of [bug 1058959|https://bugzilla.redhat.com/show_bug.cgi?id=1058959] from ASSIGNED to POST
> DefaultPropertyReplacer + PropertyResolver is broken for vault expressions
> --------------------------------------------------------------------------
>
> Key: JBMETA-371
> URL: https://issues.jboss.org/browse/JBMETA-371
> Project: JBoss Metadata
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: common
> Affects Versions: 7.0.4.Final
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Fix For: 8.0.0.Final
>
>
> The DefaultPropertyReplacer + PropertyResolver algorithm is broken for vault expressions. It's based on the assumption that the contents of the expression string between "${" and "}" have a fixed format a la the old JBoss AS system properties (e.g. propertyname[: default value]) and then the PropertyResolver tries to resolve "propertyname".
> This is incorrect in the case of vault expressions, which do not follow this format. In particular the ":" char appears multiple places in a vault expression and does not serve as a delimiter between "propertyname" and "default value".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (DROOLS-430) Fails to parse DSL variable definition with single dot regex
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-430?page=com.atlassian.jira.plugin... ]
Edson Tirelli resolved DROOLS-430.
----------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
Fix Version/s: 6.1.0.Beta1
Resolution: Done
Fixed. Thanks for the test case.
> Fails to parse DSL variable definition with single dot regex
> ------------------------------------------------------------
>
> Key: DROOLS-430
> URL: https://issues.jboss.org/browse/DROOLS-430
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.1.Final
> Reporter: Toshiya Kobayashi
> Assignee: Edson Tirelli
> Fix For: 6.1.0.Beta1
>
>
> Drools fails to parse DSL variable definition with single dot regex, where I want one any character.
> {noformat}
> [then]Log {message:.}=list.add(\"{message}\");
> {noformat}
> Error message:
> {noformat}
> [1,19]: DSL parser error
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (WFLY-2594) Undeploy of JSF application is throwing SEVERE messages, when there were deployed more JSF apps
by Farah Juma (JIRA)
[ https://issues.jboss.org/browse/WFLY-2594?page=com.atlassian.jira.plugin.... ]
Farah Juma commented on WFLY-2594:
----------------------------------
As a workaround for a GlassFish issue, the _com.sun.faces.config.FacesInitializer#onStartup_ method currently has the following code that adds the ConfigureListener to the ServletContext:
{code}
// The following line is temporary until we can solve an ordering
// issue in V3. Right now the JSP container looks for a mapping
// of the FacesServlet in the web.xml. If it's not present, then
// it assumes that the application isn't a faces application. In this
// case the JSP container will not register the ConfigureListener
// definition from our TLD nor will it parse cause or JSP TLDs to
// be parsed.
servletContext.addListener(com.sun.faces.config.ConfigureListener.class);
{code}
When running with WildFly, this causes the ConfigureListener to erroneously get registered twice when deploying JSF applications that don't contain a mapping of the FacesServlet in their web.xml. The InjectionProvider is set properly in the InitFacesContext the first time ConfigureListener.contextInitialized() is called. However, when ConfigureListener.contextInitialized() is erroneously called a second time, the InjectionProvider won't get set again resulting in the SEVERE messages in the logs when undeploying.
I've created a patch that fixes this issue by making the ConfigManager.hasBeenInitialized() checks happen earlier in ConfigureListener.contextInitialized() and ConfigureListener.contextDestroyed(). See https://java.net/jira/browse/JAVASERVERFACES-3189.
> Undeploy of JSF application is throwing SEVERE messages, when there were deployed more JSF apps
> -----------------------------------------------------------------------------------------------
>
> Key: WFLY-2594
> URL: https://issues.jboss.org/browse/WFLY-2594
> Project: WildFly
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: JSF
> Environment: WildFly Beta2-SNAPSHOT from 2013-12-02
> Reporter: Tomas Remes
> Assignee: Farah Juma
>
> When you deploy more than one JSF application and then you undeploy one of them, you'll face following message in server log:
> {noformat}
> SEVERE [javax.faces] (MSC service thread 1-2) Unable to obtain InjectionProvider from init time FacesContext. Does this container implement the Mojarra Injection SPI?
> SEVERE [javax.faces] (MSC service thread 1-2) Unable to call @PreDestroy annotated methods because no InjectionProvider can be found. Does this container implement the Mojarra Injection SPI?
> {noformat}
> I think javax.faces.FactoryFinder.FactoryManagerCache.getApplicationFactoryManager(ClassLoader) shouldn't try to create new instance of FactoryManager in this case. I am not really sure, what is special initialization case, but it seems to me that this should evaluate to true in this case (btw Does this javax.faces.FactoryFinder.FactoryManagerCache.detectSpecialInitializationCase(FacesContext) ever evaluate as true?).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months