role cache

Author Message

Marko Žmak

Thursday 31 March 2005 1:46:03 pm

I encountered a problem with roles. This is what I have done (in this order):

- deleted some sections that were used in some roles
- deleted the roles that were used by this sections
- created new section and assigned them to apropriate nodes
- created roles for the new sections (for anonymous user)

When I tried to view the site after that I got an "Access Denied" message. From the debug info I found out that the IDs of the sections that I've deleted were applied in the roles. I cleared the cache, even tried deleting the cache folder, but nothing changed.
Only after I changed the RoleSettings EnableCaching in site.ini to disabled, the new roles were aplied.

So is this a bug, or I forgot to do something?

It seems to me that the role cache wasn't cleared when I cleared the cache. Is there some special way for clearing the role cache?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Łukasz Serwatka

Friday 01 April 2005 2:41:02 am

Hi Marko,

Could you write description how to reproduce it and report it in bug system?
http://ez.no/community/bugs

Thank you

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Marko Žmak

Tuesday 05 April 2005 5:16:56 pm

I repoted the bug in the bug system.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:29:58
Script start
Timing: Jan 18 2025 19:29:58
Module start 'layout'
Timing: Jan 18 2025 19:29:58
Module start 'content'
Timing: Jan 18 2025 19:29:58
Module end 'content'
Timing: Jan 18 2025 19:29:58
Script end

Main resources:

Total runtime0.6695 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.0625152.6094
Module start 'layout' 0.00470.0024 741.671939.3984
Module start 'content' 0.00720.6607 781.0703550.8203
Module end 'content' 0.66790.0016 1,331.890612.5156
Script end 0.6695  1,344.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4461160.0002
Check MTime0.00130.1894160.0001
Mysql Total
Database connection0.00070.102010.0007
Mysqli_queries0.623193.0710570.0109
Looping result0.00040.0632550.0000
Template Total0.642696.020.3213
Template load0.00240.355220.0012
Template processing0.640295.619520.3201
Template load and register function0.00010.014210.0001
states
state_id_array0.00090.130510.0009
state_identifier_array0.00080.121320.0004
Override
Cache load0.00190.2901220.0001
Sytem overhead
Fetch class attribute can translate value0.00050.079220.0003
Fetch class attribute name0.00130.194450.0003
XML
Image XML parsing0.00130.188520.0006
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00090.1281260.0000
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs