Commit 336569fc authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Rename fixes

parent d9c98fa2
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -142,8 +142,8 @@ public class NodesController extends BaseController {
        String direction = getRequiredParam(params, "direction");

        Transfer transfer = new Transfer();
        transfer.setTarget(target);
        transfer.setDirection(direction);
        transfer.setTarget("vos://" + authority + target);
        transfer.setDirection("vos://" + authority + direction);

        JobSummary job = client.startTransferJob(transfer);

+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ export default {
      } else if (/[<>?":\\/`|'*]/.test(this.newName)) {
        this.newNameError = "Name contains an illegal character. Following characters are not allowed: < > ? \" : \\ / | ' * `";
      } else {
        let parentPath = this.oldName.substring(0, this.oldName.lastIndexOf('/') + 1);
        let parentPath = this.nodeToRename.substring(0, this.nodeToRename.lastIndexOf('/') + 1);
        this.$store.dispatch('moveNode', {
            target: parentPath + this.oldName,
            direction: parentPath + this.newName