problem with creating classes (report as a bug?)

Author Message

Marko Žmak

Monday 22 August 2005 11:27:20 pm

This is what I did:

- made a copy of one of my custom classes
- edited that copy and changed it's display name and identifier to "menu_item". There was already a class with that identifier, so eZ complained about it.
- then I deleted the exsisting class with "menu_item" identifier and tried again to change the identifier of the copied class to it.

And then the problems started. I couldn't change the name and identifier of the copied class. Then I found out that I couldn't make any new classes. Creating new class works OK until I get to save it. I get an error message:

Object ID not valid
Object not available

Also when I edit an exsisting class and try to save it, nothing happens, the class remains unchanged.

I've tried to clear the cache, nothing happens. Before this incident I was able to create and modify all my classes freely.

So did anyone have problems with this?

Should I report this as a bug?

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

Hubert Farnsworth

Frederik Holljen

Monday 22 August 2005 11:48:20 pm

Definitely a bug. Please report. It might be worth it to check if you can reproduce it from a clean installation. If you can't it may be very hard to fix it.

Marko Žmak

Wednesday 24 August 2005 1:11:01 am

Hm... Today I just logged in the admin interface, and the problem was misteriously gone. I can change the classes freely again. There were no changes to the sistem in the meantime.

Do I still report this as a BUG?

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

Hubert Farnsworth

Bertrand Dunogier

Sunday 28 August 2005 11:07:40 am

Sometimes weird behaviour appears during dev and goes away the next day... most prolly related to sessions. Did you try to clear all cache when the problem was there ?

Marko Žmak

Sunday 28 August 2005 11:38:48 am

Yep I tried clearing the cache several times, from the admin interface, using clearcache.sh, and also manually deleting the cache folder. But nothing happened. Only after a day (during which I did nothing) the problem disappeared. ???

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

Hubert Farnsworth

Bertrand Dunogier

Monday 29 August 2005 10:34:20 am

The same stuff happened to me due to _ I think _ session stuff... next time it happens (I'm not wishing any bad stuff to you ^^), try killing the session from Setup/Sessions... it's as far as I know the only place after cache where stuff is stored.

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

Main resources:

Total runtime0.7299 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 588.0547152.6406
Module start 'layout' 0.00800.0045 740.695339.4766
Module start 'content' 0.01250.7158 780.1719613.4453
Module end 'content' 0.72840.0015 1,393.617216.1250
Script end 0.7299  1,409.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5455160.0002
Check MTime0.00190.2558160.0001
Mysql Total
Database connection0.00140.198010.0014
Mysqli_queries0.662090.6926680.0097
Looping result0.00070.0989660.0000
Template Total0.690694.620.3453
Template load0.00320.442720.0016
Template processing0.687494.169020.3437
Template load and register function0.00010.013810.0001
states
state_id_array0.00390.540210.0039
state_identifier_array0.00090.120220.0004
Override
Cache load0.00260.3584290.0001
Sytem overhead
Fetch class attribute can translate value0.00130.175930.0004
Fetch class attribute name0.00160.222680.0002
XML
Image XML parsing0.00120.167930.0004
class_abstraction
Instantiating content class attribute0.00000.0028100.0000
General
dbfile0.00090.1285240.0000
String conversion0.00010.018740.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs