Tapestry
  1. Tapestry
  2. TAPESTRY-1651

ComponentSpecificationResolverImpl not checking app namespace

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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"); }

      ...
      }

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development