[MGNLDMS-166] cache: deny url doesn't work because the file size check always votes positively Created: 05/Jun/09  Updated: 03/Jul/14  Resolved: 08/Jun/09

Status: Closed
Project: Document Management System (closed)
Component/s: None
Affects Version/s: 1.4
Fix Version/s: 1.4

Type: Bug Priority: Blocker
Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File config.modules.cache.config.configurations.default.cachePolicy.voters.deny.documentSize.xml    
Issue Links:
relation
is related to MGNLDMS-159 Caching big documents from dms reposi... Closed
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Date of First Response:

 Description   

The documentSize voter will vote with +1 if the file is smaller than the threshold.

So all votes from the deny url voter are neutralized.



 Comments   
Comment by Philipp Bärfuss [ 05/Jun/09 ]

Was introduced by MGNLDMS-159

Comment by Philipp Bärfuss [ 08/Jun/09 ]

Solved by reverting MGNLDMS-159.

Comment by Jan Haderka [ 09/Jun/09 ]

Would not it be more appropriate to decrease (default -1) falseValue of the deny URL voter so it overrules the documentSize voter?

Generated at Mon Feb 12 00:49:04 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.