Forums / Install & configuration / My new content class is missing

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

My new content class is missing

Author Message

Adolfo Barragán

Wednesday 01 January 2003 11:11:39 pm

I have created a new content class: I login as admin, I click in "classes" and I see a list of "Class Group". I pick "Content" an I get a list of content class, then I click on "New" button, an I enter the new content class attributes and "apply" changes.

Exponential tell me "Input was stored sucesfully" but I don't see my new class. I clear cache and my new class is still missing.

I look at tables in database and there is a new row in "ezcontentclass" (and "ezcontentclass_classgroup") with my new class.

Why the admin interface don't show my new class?

Thanks in advance
Adolfo

Adolfo Barragán

Sunday 05 January 2003 3:23:48 am

> I have created a new content class...
>
> I look at tables in database and there is a new row in
> "ezcontentclass" (and "ezcontentclass_classgroup") with my
> new class.
>
> Why the admin interface don't show my new class?

Again, I reply myself, so anyboy will know what happen.

I think that it is a bug:

When we create a new class Exponential assign a value of "1" to field "version_id". But the script /kernel/class/classlist.php fetch *allways* classes with a version_id of "0" (around line 94

$classids = & eZContentClassClassGroup::fetchClassList( 0, $GroupID, $asObject = true);
$classes_list = & eZContentClass::fetchList( 0,
$asObject = true,
false,
$sort,
$fields );

I we change version_id to 0 in tables ezcontenclass and ezcontentclass_classgroup our new content class show up in class list.

Happy new year
Adolfo

Claus Jensen

Friday 09 January 2004 4:56:42 am

Hello Adolfo,
What version are you using? I have some problems that could be related to this bug. Im using 3.3.1, 3.2.4 3.2.1 and such...

regards,
claÜs

Kåre Køhler Høvik

Friday 09 January 2004 6:01:29 am

This is probably releated to this bug : http://ez.no/developer/ez_publish_3/bug_reports/incorrect_work_in_classes

--
Kåre Høvik

Kåre Høvik