XSite
  1. XSite
  2. XSITE-48

DependencyInjection fails to inject TagRules to SiteMeshPageExtractor if no TextFilters are defined

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.3
    • Fix Version/s: 1.3
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      SiteMeshPageExtractor has only only constructors that either do not have TagRule[] and TextFilter[] at all or both at once. As result it is not possible for dependency injection to create an instance of the extractor with available TagRule instances if no TextFilter instances are available and the tag rules are silently ignored.

      SiteMeshPageExtractor must also have constructors taking only one array type.

        Activity

        Jörg Schaible made changes -
        Field Original Value New Value
        Description SiteMeshPageExtractor has only only constructors that either do not have TagRule[] and TextFilter[] at all or both at once. As result it is not possible for dependency injection to create an instance of the extractor with available TextRule instances if no TextFilter instances are available.

        SiteMeshPageExtractor must also have constructors taking only one array type.
        SiteMeshPageExtractor has only only constructors that either do not have TagRule[] and TextFilter[] at all or both at once. As result it is not possible for dependency injection to create an instance of the extractor with available TagRule instances if no TextFilter instances are available and the tag rules are silently ignored.

        SiteMeshPageExtractor must also have constructors taking only one array type.
        Hide
        Jörg Schaible added a comment -

        Fixed in trunk

        Show
        Jörg Schaible added a comment - Fixed in trunk
        Jörg Schaible made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Jörg Schaible
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: