Home My Page Projects FusionForge
Summary Activity Forums Tracker Lists News SCM Files Mediawiki Hudson/Jenkins

[#702] docman: views not incremented

Date:
2014-07-08 11:45
Priority:
4
State:
Closed
Submitted by:
Alain Peyrat (aljeux)
Assigned to:
Franck Villaume (nerville)
Target Release:
5.3.2
Found in Version:
5.3.1
Severity:
major
Resolution:
Fixed
Summary:
docman: views not incremented

Detailed description
Accessing a document, in docman, does not increment the number of views.

This can be seen on the fusionforge.org

When displaying documents, the "download" field is used.

When downloading a document, the downloadUp() only updates table "docman_dlstats_doc".

Alain
Message  ↓
Date: 2014-07-09 07:48
Sender: Alain Peyrat

Thanks, it works now.

Date: 2014-07-08 20:36
Sender: Franck Villaume

fixed in 958d3734e5565999b0031b2129d673ffbdd642ac

Date: 2014-07-08 20:30
Sender: Franck Villaume

well, actually, the downloadUp is not called at all when you use readfile_chunked function.

the stat works correctly when you download the file as zip (using the massaction)
No relation with the only updates table "docman_dtstats_doc", look at the rule on the docman_dlstats_doc.

bug introduced by this commit: 0008d8c43afa54c328edbe71a4d7fafcc3387642

Field Old Value Date By
status_idOpen2014-07-08 20:36nerville
close_dateNone2014-07-08 20:36nerville
assigned_tonone2014-07-08 20:36nerville
Target ReleaseNone2014-07-08 20:36nerville
ResolutionAccepted As Bug2014-07-08 20:36nerville
ResolutionNone2014-07-08 20:30nerville