Jetspeed 2
  1. Jetspeed 2
  2. JS2-1175

Portal Site Validation logic prevents simple rename move operations

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.1
    • Component/s: Admin Portlets
    • Labels:
      None
    • Environment:
      Portal Site Manager

      Description

      PortalSiteManager.CopyMoveWindow.copyForm.onValidate() accesses getDocName() to validate name change, but this field is not set with values from the form when the validation is performed. When the button is submitted later, setDocName() is invoked correctly.

      This bug results in the the code thinking that the move, (or copy), name is unchanged and thus will not allow the move to occur. Changing the path is required for the operation to pass validation.

        Activity

        Randy Watler created issue -
        Woonsan Ko made changes -
        Field Original Value New Value
        Assignee Woonsan Ko [ woon_san ]
        Hide
        Woonsan Ko added a comment -

        Fixed.

        The path for the new node is selected when user clicks a tree node in the tree.
        When a user didn't click any tree node in the tree, the default path as same as the document path has been used. This made this problem.
        Therefore, I just made it select the default root node initially in the tree. This simple addition solved the problem.

        Show
        Woonsan Ko added a comment - Fixed. The path for the new node is selected when user clicks a tree node in the tree. When a user didn't click any tree node in the tree, the default path as same as the document path has been used. This made this problem. Therefore, I just made it select the default root node initially in the tree. This simple addition solved the problem.
        Woonsan Ko made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.2.1 [ 12313443 ]
        Resolution Fixed [ 1 ]
        Ate Douma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Woonsan Ko
            Reporter:
            Randy Watler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development