Ticket #111 (closed Feature Request: fixed)
Add a mechanism for completely deleting a node
| Reported by: | max-horvath | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | WifiDog Auth Server 1.1 |
| Component: | Auth server, Other | Version: | Auth Server SVN |
| Keywords: | administration, database error | Cc: |
Description (last modified by benoitg) (diff)
While seldom needed (setting a node PERMANENTLY_CLOSED is generally preferable), deleting a node including all connections ever to take place there is sometimes usefull, for example when the node was never put in production.
This requires changing the SQL constraints and implementing the delete function with a "Big Fat Warning (tm)"
A node cannot be deleted, even after every content and owner and tech officers have been removed ...
Following error occurs:
DELETE FROM nodes WHERE node_id='0014BFC92DDB' Error: ERROR: update or delete on "nodes" violates foreign key constraint "node_stakeholders_node_id_fkey" on "node_stakeholders" DETAIL: Key (node_id)=(0014BFC92DDB) is still referenced from table "node_stakeholders".
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
