Users in multiple/alternative locations being counted as distinctive users

Author Message

Tore Skobba

Tuesday 02 March 2004 7:11:58 am

UPDATE: After reading on EZ seems as this is a known and fixed bug:
http://www.ez.no/community/bug_reports/duplicates_when_fetching_trees_and_lists_with_objects_assigned_to_multiple_locations

http://ez.no/ez_publish/documentation/reference/data_fetching/content/tree

Hi

I have a site where I have several users in primarily one user group. However, some user are added to other usergroups (this in order to gain more permissions). However, when I am counting the total number of users these alternative locations are counted as an user. I.e an user placed in usergroup "Class of 1999" and usergroup "Editor" is counted as two distinctive users, instead of one. Am I doing something wrong or is this correct behaviour from EZ 3.3-3

Cheers
Tore

Jan Borsodi

Tuesday 02 March 2004 7:46:19 am

This is not possible in 3.3-3, however it has been added to the 3.3 branch and will be available in 3.3-4.
The new argument 'main_node_only' to tree_count, list_count, tree and list controls this behaviour.

3.3-4 should be out in about a week or two.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 19 2025 04:35:22
Script start
Timing: Jan 19 2025 04:35:22
Module start 'layout'
Timing: Jan 19 2025 04:35:22
Module start 'content'
Timing: Jan 19 2025 04:35:22
Module end 'content'
Timing: Jan 19 2025 04:35:22
Script end

Main resources:

Total runtime0.0140 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.6484152.6875
Module start 'layout' 0.00560.0027 742.335939.5234
Module start 'content' 0.00830.0038 781.859489.4297
Module end 'content' 0.01210.0018 871.289130.3047
Script end 0.0139  901.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.1795140.0002
Check MTime0.00117.6131140.0001
Mysql Total
Database connection0.00085.407910.0008
Mysqli_queries0.002719.032730.0009
Looping result0.00000.098910.0000
Template Total0.001510.710.0015
Template load0.00096.131010.0009
Template processing0.00064.514310.0006
Override
Cache load0.00064.205610.0006
General
dbfile0.00031.879480.0000
String conversion0.00000.049540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs