Edgewall Software

Ticket #1278 (new defect)

Opened 4 years ago

Last modified 7 months ago

attaching file to wiki page does not register as changed page

Reported by: Phil Mocek <pmocek-edgewall-tracwiki@…> Owned by: cboos
Priority: normal Milestone: 0.13
Component: attachment Version: 0.8.1
Severity: normal Keywords: wiki attach history changes
Cc:

Description

When a file is attached to a wiki page, the page does not show a change in its page history and the page does not show up on the list of RecentChanges or timeline.

For example, I attached a file to SandBox/SubPage on 2005-03-10, but that page's history indicates that it was last modified on 2004-11-16.

Attachments

Change History

Changed 3 years ago by cboos

  • owner changed from jonas to cboos
  • milestone set to 0.10

#1498 was marked as duplicate of this one. See also #2259 which is about nearly the same issue, but for tickets.

Changed 3 years ago by cboos

  • milestone changed from 0.10 to 0.11

This ticket will require some general changes on the way the attachment changes interfere with the main resource changes, and I think it's too late to do that in 0.10 now.

Post-poning.

Changed 2 years ago by sid

#2725 is similar (Ticket changetime is not updated with an attachment) and has a patch.

Changed 23 months ago by cboos

  • milestone changed from 0.11 to 0.12

I closed #2725 as a duplicate of this one, as the data model changes will affect the attachments for any resources (wiki pages, tickets, and by then, the milestone and probably a few others...).

Changed 11 months ago by osimons

Should the attachment module really have such consequences for its 'parent' on the model level? With the current (0.11b1+) status of disconnected resources and loosly-coupled code, I suppose it is up the parent resource to decide if it wants to register the change in any way.

So, if the Wiki wants to save a new version of itself to mark the event, can't it just implement the IAttachmentChangeListener and log a new version with a comment that attachment 'somefile.txt' is added or deleted?

That should then of course trigger a call to IWikiChangeListener, show the new version in timeline and so on...

Changed 7 months ago by Piotr Kuczynski <piotr.kuczynski@…>

  • component changed from wiki system to attachment

Add/Change #1278 (attaching file to wiki page does not register as changed page)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
The owner will change from cboos to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.