Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-511

TCK: Node types selected by SetValueValueFormatExceptionTest may lead to incorrect test failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1
    • test
    • None

    Description

      During setup, the test selects two node types, one with a BOOLEAN property and one with a DATE property, and creates nodes of these types as children of the target node. Having the TCK select these node types creates two problems: First, JSR-170 does not require an implementation to provide deterministic, stable ordering of node types returned by NodeTypeManager. Consequently, the node types selected during test setup may vary from run to run, making test configuration difficult or impossible. Second, if a repository imposes implementation-specific type constraints not discoverable through JSR-170, the TCK may select a node type inappropriate as a child of the test node.

      Proposal: introduce configuration properties which, if set, override the property definition and node type selected by NodeTypeUtil.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpitfiel David Pitfield
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: