Proper deprecation of ez routines

Author Message

Paul Forsyth

Wednesday 10 September 2003 12:51:20 am

Is there the facility of properly announcing deprected ez sdk routines?

Yesterday I was stumped as to why my 'user/forgetpassord' routine was failing with a permissions error (3.1-3.2 upgrade). It took me a while to notice that with 3.2 the spelling has been 'fixed' and is now 'user/forgotpassword'. If 'forget' is added to the Policy omissions list it works.

What im annoyed about is that the old routine has been left in place, is marked as being kept for compatibility, but is left to fail in an undocumented and confusing way. I see that in 'kernel/user/module.php' this view is actually marked as 'deprecated' but there is no code in the system i could find that deals with 'deprecated' views.

There should be kernel warnings for issues like this so we developers can manage our code accordingly.

Since there is the start made in the module file is there planned work for taking this further? And extending it to functions and operators?

Paul

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 30 2025 21:18:06
Script start
Timing: Jan 30 2025 21:18:06
Module start 'layout'
Timing: Jan 30 2025 21:18:06
Module start 'content'
Timing: Jan 30 2025 21:18:07
Module end 'content'
Timing: Jan 30 2025 21:18:07
Script end

Main resources:

Total runtime0.8645 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1563151.2109
Module start 'layout' 0.00500.0039 739.3672220.6875
Module start 'content' 0.00890.8548 960.05474,138.8672
Module end 'content' 0.86370.0008 5,098.92197.8438
Script end 0.8645  5,106.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3727160.0002
Check MTime0.00120.1424160.0001
Mysql Total
Database connection0.00070.077210.0007
Mysqli_queries0.804393.0416460.0175
Looping result0.00040.0432440.0000
Template Total0.810493.720.4052
Template load0.00210.244720.0011
Template processing0.808393.495620.4041
Template load and register function0.00120.136310.0012
states
state_id_array0.00160.186910.0016
state_identifier_array0.00180.211920.0009
Override
Cache load0.00170.196490.0002
Sytem overhead
Fetch class attribute can translate value0.00160.181410.0016
Fetch class attribute name0.00120.138310.0012
XML
Image XML parsing0.00010.013310.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00150.1695100.0001
String conversion0.00000.000840.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs