Opened 6 years ago
Closed 6 years ago
Last modified 6 years ago
#12913 closed defect (fixed)
Wrong error message on start after update from 1.2 to 1.2.2
|Reported by:||Dirk Stöcker||Owned by:||Jun Omae|
Fixed incorrect logging of negated permission as invalid in
Hi, I updated our trac from 1.2 to 1.2.2 and get following start message:
Trac[authz_policy] WARNING: The action !WIKI_MODIFY in the [wiki:...] section of fineperm.conf is not a valid action.
based on the line:
* = !WIKI_MODIFY
Actually the line still works correctly, so I assume some sanity check does not properly recognize the "!" syntax.
Change History (4)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
|Status:||new → assigned|
Committed the comment:1 patch in r16336, merged to trunk in r16337.
Proposed additions to test coverage in [2556a86ad/rjollos.git]. This is targeted to trunk since we have a mock logger that captures messages in-memory.
comment:3 by , 6 years ago
|Release Notes:||modified (diff)|
|Status:||assigned → closed|
comment:4 by , 6 years ago
Thanks for the reporting! It seems that is regression of #12734.
Also, we should add unit tests with
!ACTION. Missing tests for that.