Problems with extension data type

Author Message

Anton Shishkin

Wednesday 24 March 2004 1:25:27 am

I wrote an extension datatype. So after activation of extension my datatype had to be appeared in dropdown list of attribute types when i modify class attributes. But my datatype appeared as an empty string. What's wrong?

After turning on debug this information appeared:

Error: eZTemplate @ design/standard/templates/class/datatypes.tpl:3[15] Mar 24 2004 14:48:34
No such attribute for array(2): string
Choose one of following: string, name

Error: eZTemplate @ design/standard/templates/class/datatypes.tpl:3[181] Mar 24 2004 14:48:34
No such attribute for array(2): name
Choose one of following: string, name

PS: i have a localized ezpublish 3.3-3 (russian localisation)

Anton Shishkin

Thursday 25 March 2004 3:13:22 am

ok, fellas, i decided this problem :)

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

Main resources:

Total runtime0.7600 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.9219152.6250
Module start 'layout' 0.00580.0024 740.546939.4609
Module start 'content' 0.00830.7502 780.0078423.8594
Module end 'content' 0.75850.0014 1,203.86728.1563
Script end 0.7600  1,212.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4416160.0002
Check MTime0.00140.1815160.0001
Mysql Total
Database connection0.00080.103310.0008
Mysqli_queries0.708393.1985520.0136
Looping result0.00040.0587500.0000
Template Total0.717494.420.3587
Template load0.00220.286320.0011
Template processing0.715294.106520.3576
Template load and register function0.00020.022410.0002
states
state_id_array0.00210.273110.0021
state_identifier_array0.00170.221320.0008
Override
Cache load0.00180.2376160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.098210.0007
Fetch class attribute name0.00110.146420.0006
XML
Image XML parsing0.00010.015310.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00911.1997100.0009
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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs