Edgewall Software
Modify

Opened 7 years ago

Last modified 4 years ago

#12928 new defect

Pass author to wiki_page_deleted and wiki_page_version_deleted

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: next-dev-1.7.x
Component: wiki system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

See trac-wikinotification issue #11.

One possibility would be to modify the page object before passing to the change listener:

  • Set the author to the user deleting the page
  • Set the content to an empty string
  • Set the version to None?

Similar changes made be wanted elsewhere, such as the Ticket model.

Attachments (0)

Change History (4)

comment:1 by Jun Omae, 7 years ago

I don't think we should modify page object. We should add WikiChangeEvent class and use author attribute of the class rather than.

Last edited 7 years ago by Jun Omae (previous) (diff)

comment:2 by Ryan J Ollos, 5 years ago

Milestone: next-dev-1.3.xnext-dev-1.5.x

Milestone renamed

comment:3 by Ryan J Ollos, 5 years ago

See also #13029.

comment:4 by Ryan J Ollos, 4 years ago

Milestone: next-dev-1.5.xnext-dev-1.7.x

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.