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

TCK: SetPropertyValueTest#testCompactValueArrayWithNulls does not respect nodename1 and nodetype configuration properties

    XMLWordPrintableJSON

Details

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

    Description

      Test doesn't respect value of nodename1 and nodetype configuration properties.

      Proposal: create property under testnode instead of testrootnode.

      — SetPropertyValueTest.java (revision 422074)
      +++ SetPropertyValueTest.java (working copy)
      @@ -374,11 +374,11 @@

      • the value array by removing all null values
        */
        public void testCompactValueArrayWithNulls() throws Exception { - testRootNode.setProperty(propertyName2, vArrayWithNulls); + testNode.setProperty(propertyName2, vArrayWithNulls); superuser.save(); assertEquals("Node.setProperty(String, valueArrayWithNulls[]) did not compact the value array by removing the null values", 2, - testRootNode.getProperty(propertyName2).getValues().length); + testNode.getProperty(propertyName2).getValues().length); }

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: