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

ComponentSpecificationResolverImpl not checking app namespace

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: Framework
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: