Forums / Developer / Weird behaviour while adding/editing class

Weird behaviour while adding/editing class

Author Message

SiXTy

Friday 02 December 2005 12:50:02 am

Hi
I'm experiencing %SUBJ%.
While class editing, eZP stores class with version set to 1, but when I try to view the class, eZP shows class version 0.
Any ideas?
Tnx
E.

Nathan Kelly

Friday 02 December 2005 3:35:37 am

Hi,

What version of EZ, system, PHP, etc. are you using?

More info helps us help you ;).

Cheers!

Pardon me while I burst into flames...

SiXTy

Friday 02 December 2005 5:33:45 am

Hi
I'm using eZP 3.7.2. I've never had a problem with it...it started yesterday, dunno why...

SiXTy

Friday 02 December 2005 10:19:53 am

Just to clarify:
on http://127.0.0.1/shop_admin/class/edit/29
I got in SQL debug:
SELECT id, version
FROM ezcontentclass
WHERE id='29' AND version='1'
and so on..

but on http://127.0.0.1/shop_admin/class/view/29:
SELECT id, version, name, identifier, contentobject_name, creator_id, modifier_id,
created, remote_id, modified, is_container
FROM ezcontentclass
WHERE id='29' AND version='0'
ORDER BY version ASC
LIMIT 0, 2

Error: error/view.php Dec 02 2005 19:19:21

Error ocurred using URI: /shop_admin/class/view/29

SiXTy

Sunday 04 December 2005 4:19:45 am

I've cleaned up db and reinstalled eZP (plain site), but still getting the same error :(
It's a bug or something :-/
E.

SiXTy

Sunday 11 December 2005 2:26:32 am

I've figured it out. eZBirthday extension is to blame.
E.

Piotrek Karaƛ

Saturday 28 June 2008 12:21:50 pm

In what way could an extension mess that up? Any ideas?
I think I'm running into similar problem, can't find and consistence, though... ;(

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu