Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1651

ComponentSpecificationResolverImpl not checking app namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.2
    • 4.1.3
    • Framework
    • None

    Description

      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"); }

      ...
      }

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            jkuhnert Jesse Kuhnert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: