Describe the bug
This is similar in concept to the issue #1119 except with resources instead of dependency versions. This comes up in a case where a resource is moved from one module to another.
ERROR! Resource 'MyClass.CLS' is explicitly part of module 'module-b', and cannot also be in module 'module-c'
To Reproduce
Using the same module setup as in #1119, but adding a resource MyClass.CLS to the scenario:
- Have modules A, B, & C. Module A depends on B which in turn depends on C
- Pre update setup:
- Module A (2.0.0)
- Module B, has resource
MyClass.CLS
- Module C
- Post update versions
- Module A (2.1.0+snapshot)
- Module B
- Module C, has resource
MyClass.CLS
- Run
zpm "install <Module A> 2.0.0"
- Run
zpm "update <Module A> 2.1.0+snapshot" (this should error)
Expected behavior
Expected behavior is for Module A and all of its dependencies to successfully update as MyClass.CLS is only a part of module-c in the post-update environment (no longer with module-b).
Describe the bug
This is similar in concept to the issue #1119 except with resources instead of dependency versions. This comes up in a case where a resource is moved from one module to another.
To Reproduce
Using the same module setup as in #1119, but adding a resource
MyClass.CLSto the scenario:MyClass.CLSMyClass.CLSzpm "install <Module A> 2.0.0"zpm "update <Module A> 2.1.0+snapshot"(this should error)Expected behavior
Expected behavior is for Module A and all of its dependencies to successfully update as
MyClass.CLSis only a part of module-c in the post-update environment (no longer with module-b).