ComponentSpecificationResolverImpl not checking app namespace
-------------------------------------------------------------

                 Key: TAPESTRY-1651
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1651
             Project: Tapestry
          Issue Type: Bug
          Components: Framework
    Affects Versions: 4.1.2
            Reporter: Jesse Kuhnert
            Assignee: Jesse Kuhnert
             Fix For: 4.1.3


The ComponentSpecificationResolverImpl class sometimes gets null component 
class package returns when checking within a library namespace, the method 
should be modified to look more like:

 IComponentSpecification searchForComponentClass(INamespace namespace, String 
type)
    {
        String packages = 
namespace.getPropertyValue("org.apache.tapestry.component-class-packages");

        if (packages == null && !namespace.isApplicationNamespace())
        {
            packages = 
namespace.getParentNamespace().getPropertyValue("org.apache.tapestry.component-class-packages");
        }
...
}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to