Share » Forums » Install & configuration » My new content class is missing

My new content class is missing

My new content class is missing

Wednesday 01 January 2003 11:11:39 pm - 3 replies

Author Message

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 eZPublish 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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu