[#702] docman: views not incremented

Description

Summary:

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 "docmandlstatsdoc".

Alain

General Information
Submitted by:
Alain Peyrat
Date Submitted: 2014-07-08 11:45
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Date Closed: 2014-07-08 20:36
Permalink: https://fusionforge.org/tracker/a_follow.php/702
Actions
Internal Fields
Data Type: Bugs
Assigned to: Franck Villaume (nerville)
State: Closed
Priority: 4
Extra Fields
Resolution:
Fixed
Severity:
major
Target Release:
5.3.2
Follow-up tabs
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 "docmandtstatsdoc", look at the rule on the docmandlstatsdoc.

bug introduced by this commit: 0008d8c43afa54c328edbe71a4d7fafcc3387642

No attached documents

No related commits.

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

No relations found.