Page MenuHomePhabricator

Modification date should update on file upload/re-upload
Closed, ResolvedPublic

Description

Author: cwdillon

Description:
I'd like to see the special property Modification date be updated upon file upload/re-upload in the File: namespace so that it does not need to be updated manually.

The special property Modification date is supposed to reflect the most recent modification to a page, but does not get updated when files are uploaded/re-uploaded to a page in the File: namespace.

For example, see http://scratchpad.referata.com/wiki/File_Attributes_Results, which shows a single query result for a page in the File: namespace and the category "CWs Tips". The printout for Modification date reflects the date-time group of the fifth of six file uploads.

Refreshing the page File:DemoFileUpload.pdf does not update the "Modification date" special property value, nor does refreshing the page "File Attributes Results" on which the query is written. Putting the query on a new/different page produces the same results.

Editing the page File:DemoFileUpload.pdf (making no changes) and saving will update the Modification date property to the date-time group of the most recent file upload; not the most recent page save.

Sorry, I noticed this weeks ago, but haven't had a chance to file the bug report until now.
-Clarence


Version: unspecified
Severity: normal
URL: http://scratchpad.referata.com/wiki/File_Attributes_Results

Details

Reference
bz19487

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:41 PM
bzimport set Reference to bz19487.

Fixed with issue #162 [1] and pull request #164 [2]. Thus closing as RESOLVED FIXED with SMW 1.9.0.3

Thank you for reporting and your kind patience.

[1] https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/162
[2] https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/164