Skip to content

templateApi> deleteNode method(s) #6

Closed

Description

@ghost

Require a method to delete any node fro the heirarchy. This will include

  • A "CanDelete" method, which returns a list of errors (strings), or an empty list if deletion is llowed
  • Removing the node from parent().children

To delete a record, :

  • it must not exist on any index.allowedRecordNodeIds
  • it must not exist on and reference type fields
  • these rules should apply to any child nodes , which will also be deleted

To delete an index:

  • it must not be being used as lookup index for a reference field
  • it must not be a "reverse reference" index

Aggregate Group Nodes ? Should be straight forward

There may be other tidyup thinks that need to happen when a node is deleted. need to think about that

Activity

  1. self-assigned this
    on Jun 20, 2019
  2. changed the title [-]templateApi> deleteNode method(s)[/-] [+]Core - templateApi> deleteNode method(s)[/+] on Jul 15, 2019
  3. changed the title [-]Core - templateApi> deleteNode method(s)[/-] [+]templateApi> deleteNode method(s)[/+] on Nov 3, 2019
  4. added a commit that references this issue on Oct 8, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo