Immutability of Link[] of refs inconsistent with the allowed deletion of referenced resources.

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: Spec
    • None
    • Hide

      Either make the components attribute mutable, or declare that components that are parts of an assembly cannot be deleted.

      A twist to this is: do we want to support:

      • Remove a component from an assembly, without deleting the component.
        Currently not supported (components in assembly is not mutable)
        If components becomes mutable, we could do that. Although a PATCH on a potentially large array may not be the safest way.

      CONCRETE PROPOSAL: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52016/camp-spec-v1.1-wd36-156.doc

      Show
      Either make the components attribute mutable, or declare that components that are parts of an assembly cannot be deleted. A twist to this is: do we want to support: Remove a component from an assembly, without deleting the component. Currently not supported (components in assembly is not mutable) If components becomes mutable, we could do that. Although a PATCH on a potentially large array may not be the safest way. CONCRETE PROPOSAL: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52016/camp-spec-v1.1-wd36-156.doc
    • Hide

      Made assembly.components mutable (but not consumer-mutable) in: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52044/camp-spec-v1.1-wd37.doc

      Show
      Made assembly.components mutable (but not consumer-mutable) in: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/52044/camp-spec-v1.1-wd37.doc

      RE-62 assumes components can be deleted, and that should "remove its reference from the components array of its containing assembly resource."
      But the components attribute of assembly is immutable.

            Assignee:
            Unassigned
            Reporter:
            Jacques Durand (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: