Jackrabbit Content Repository
  1. Jackrabbit Content Repository
  2. JCR-644

Node.isNodeType() throws if namespace is not defined.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.9, 1.0, 1.0.1, 1.1
    • Fix Version/s: None
    • Component/s: nodetype
    • Labels:
      None

      Description

      eg: node.isNodeType("foo:MyNodeType")

      throws an exception if 'foo' is not defined. this is incorrect since an application should not need to check if the namespace exists before checking for a nodetype. it should return false.

        Activity

        Tobias Bocanegra created issue -
        Tobias Bocanegra made changes -
        Field Original Value New Value
        Assignee Tobias Bocanegra [ tripod ]
        Tobias Bocanegra made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        Tobias Bocanegra made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        Jukka Zitting made changes -
        Resolution Won't Fix [ 2 ]
        Status Reopened [ 4 ] Resolved [ 5 ]
        Jukka Zitting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jukka Zitting made changes -
        Workflow jira [ 12390279 ] no-reopen-closed, patch-avail [ 12469212 ]

          People

          • Assignee:
            Tobias Bocanegra
            Reporter:
            Tobias Bocanegra
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development