Edgewall Software

Opened 18 years ago

Last modified 8 years ago

#1278 new defect

attaching file to wiki page does not register as changed page

Reported by: Phil Mocek <pmocek-edgewall-tracwiki@…> Owned by:
Priority: lowest Milestone: next-major-releases
Component: attachment Version: 0.8.1
Severity: normal Keywords: wiki attach history changes
Cc: martin@… Branch:
Release Notes:
API Changes:
Internal Changes:


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 (0)

Change History (11)

comment:1 by Christian Boos, 17 years ago

Milestone: 0.10
Owner: changed from Jonas Borgström to Christian Boos

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

comment:2 by Christian Boos, 17 years ago

Milestone: 0.100.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.


comment:3 by sid, 17 years ago

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

comment:4 by Christian Boos, 16 years ago

Milestone: 0.110.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…).

comment:5 by osimons, 15 years ago

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…

comment:6 by Piotr Kuczynski <piotr.kuczynski@…>, 15 years ago

Component: wiki systemattachment

comment:7 by anonymous, 13 years ago

I'm using Trac 0.11.7. Any idea to fix the issue "ticket changetime is not updated with an attachment" on this version?

I have tried the patch attached on ticket #2725. But it have following error, AttributeError: 'Attachment' object has no attribute 'parent_type'

comment:8 by Remy Blank, 13 years ago

Milestone: next-major-0.1Xunscheduled

comment:9 by Christian Boos, 13 years ago

Milestone: unschedulednext-major-0.1X
Priority: normallowest

Keeping on the long term plan (comment:4).

comment:10 by Martin Scharrer <martin@…>, 13 years ago

Cc: martin@… added

comment:11 by Ryan J Ollos, 8 years ago

Owner: Christian Boos removed

Modify Ticket

Change Properties
Set your email in Preferences
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.