Ticket #609 (closed enhancement: fixed)

Opened 13 years ago

Last modified 13 years ago

Change 'Hide' to 'Delete'

Reported by: jukka Owned by: jukka
Priority: critical Milestone: 0.7 Búri
Component: generic Version:
Keywords: Cc:
Time planned: 2h Time remaining: 0h
Time spent: 9.0h

Description (last modified by jukka) (diff)

(Story #541) Change hiding methods and links to delete objects, but deletion-by-author is allowed only if piece isn't used in any material or material isn't used in any Story.

Change History

comment:1 Changed 13 years ago by jukka

  • Owner changed from anonymous to jukka
  • Status changed from new to assigned
  • Description modified (diff)

comment:2 Changed 13 years ago by jukka

  • Status changed from assigned to closed
  • Time spent set to 9.0h
  • Resolution set to fixed
  • Time remaining set to 0h

(In [586]) Closed #609, spent 9h. First I implemented a real deletion with creation of placeholder objects, but that made unrecovable changes and that was bad. Now this just changes the portal_status to deleted and displays deletionmessage instead of content. For now we should add checks if portal_status!=deleted for every public method that can get information out from object (downloads, exports and such).

Note: See TracTickets for help on using tickets.