Skip to content

SALClient.copy does not copy from source #68

Description

@TOFarmer

Summary

The SALClient cannot perform the SAL copy operation.

Steps to reproduce

source = '/a/path'
target = '/another/path
sc = SALClient(host)
sc.copy(target, source)

What is the current bug behavior?

The target is copied to itself (i.e. the SAL server is not changed, if the target already exists).

What is the expected correct behavior?

The node at the source path should be copied to the target.

Possible fixes

This is simply because the when the URL is constructed for copying, the target path in both cases.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssues that report incorrect or undesirable behaviour(s)Priority: 2NORMAL: A task which is not critical and should be addressed when there are no higher priority issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions