Missing object title in admin interface

Author Message

Edward Eliot

Tuesday 24 August 2004 6:31:19 am

Hello,

I am having problems with missing object titles in the admin content list.

I changed the "article" class to a "page" class added a few attributes and changed the "name" field to "title". I then added a few "pages" with no problems ("titles" displaying correctly). I later decided to change the "title" attribute back to "name" and that's when the problem started. I added a new "page" sucessfully but when it had saved and the admin interface returned to the folder view the new "page" is showing up with a blank name. If I re-edit the "page" the "name" edit field is repopulated with the value I orginally entered. This suggests the "name" is being saved.

I hope this all makes sense.

Any one have any ideas why the "names" of new objects are no longer showing up in the admin interface?

Alex Jones

Tuesday 24 August 2004 6:59:51 am

Hrrrm, the only thing I could think of would be to make sure that you updated the 'Object name pattern' on the Class editing screen when you made the change back 'name'. It should use the <i>identifier</i> from the field you want showing up as the objects title - in your case, probably <i><name></i> and not <i><title></i> or the like.

Hope this helps,

Alex

<b>Drop by the eZ Pub: http://ezpub.co.uk/ </b>
[ bald_technologist on the IRC channel: #eZpublish ]

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Edward Eliot

Tuesday 24 August 2004 7:45:49 am

This was exactly what it was. It is interesting that it doesn't affect any other parts of the admin interface. Many thanks. Ed.

Alex Jones

Tuesday 24 August 2004 8:12:05 am

Glad to hear it's working properly once more!

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

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

Main resources:

Total runtime0.7452 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 590.3828152.6250
Module start 'layout' 0.00610.0041 743.007839.4453
Module start 'content' 0.01030.7334 782.4531543.1875
Module end 'content' 0.74360.0016 1,325.640612.1563
Script end 0.7452  1,337.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4508160.0002
Check MTime0.00150.1954160.0001
Mysql Total
Database connection0.00120.158210.0012
Mysqli_queries0.688192.3277600.0115
Looping result0.00070.0973580.0000
Template Total0.710995.420.3555
Template load0.00240.317920.0012
Template processing0.708695.079020.3543
Template load and register function0.00020.028810.0002
states
state_id_array0.00080.110710.0008
state_identifier_array0.00120.163020.0006
Override
Cache load0.00190.2557210.0001
Sytem overhead
Fetch class attribute can translate value0.00080.105620.0004
Fetch class attribute name0.00130.167950.0003
XML
Image XML parsing0.00070.094320.0004
class_abstraction
Instantiating content class attribute0.00000.002060.0000
General
dbfile0.00090.1155160.0001
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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs