#009873: Serious regression: "You do not have permissions to create an object of the requested class in any language."

Description:

Trying to create a new object...

Posting from the user site access:
ClassID=17&NodeID=59&NewButton=Create+article

I get this message:
"You do not have permissions to create an object of the requested class in any language."

and a cancel button.

(before the upgrade to eZ version 3.9.0 it worked without any problem, on eZ version 3.8.6)

Post from the admin site access (the language dropdown box correctly displayed the available languages), with the same user:
ContentNodeID=59&NodeID=59&ClassID=17&ContentLanguageCode=eng-GB&NewButton=Create+here&ContentNodeID=59&ContentObjectID=57&ViewMode=full

And it works as expected.

Related policies that are assigned to the user:

role wiki user:
content create Node( eZ , People ) , Class( Wiki article )
content edit Subtree( eZ , People ) , Class( Wiki article )

role wiki admin:
content create Class( Wiki article ) , ParentClass( Wiki namespace )
content edit Class( Wiki article )


Environment:

Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):


- Attachments

No attachments for this issue.


- Comments

When leaving the language parameter away in the POST data (tested with the replay function of the LiveHTTPHeaders Firefox extension), the issue also occurs in the admin interface.

So, if Javascript is disabled, you get the same result in the admin interface (because the language dropdown box is created with Javascript).

I tested this further when logged in as admin, with Javascript disabled: same issue!!!

Apparently the assigned policies have nothing to do with it.

#251032 by Kristof Coomans on December 21st, 2006 [Permanent Link]

Additional info: the issue only occurs when more than one language is installed.

#251033 by Kristof Coomans on December 21st, 2006 [Permanent Link]

Hi!
I can reproduce it only in admin siteaccess with disabled JavaScript in browser.
But I can't reproduce this issue in user siteaccess.Tested in 3.9.0 using ezwebin and news packages.
eZ publish creates an object in prioritize language by default(eng-GB for me).

#251038 by Lenara Anafieva on December 21st, 2006 [Permanent Link]

Hi Lenara

Does the user has the permission to create the object in more than one language? Have you tried logging in with the admin user on the user site access?

#251039 by Kristof Coomans on December 21st, 2006 [Permanent Link]

1 The role of my user :


Module     Function    Limitation    
user         login     SiteAccess( ezwebin_site )     
content     create     Node( News and Events ) , Class( Article )     
content     edit      Subtree( News and Events ) , Class( Article )     
content     read     No limitations

2 I logged in as admin in user siteaccess and didn't have any problem with creating of an object.
3 I logged in as my user in user siteaccess and didn't have any problem with creating of an object(the role discribed above)
4 My RegionalSettings in settings/siteaccess/ezwebin_site/site.ini.append.php are like here:


[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=eng-GB
SiteLanguageList[]=ita-IT
TextTranslation=disabled

Maybe I didn't take something into account....

#251040 by Lenara Anafieva on December 21st, 2006 [Permanent Link]

Could you check it?
there is small fix for this issue
3.10.0alpha1 rev. 17815

#251041 by Valentin Doroschuk on December 21st, 2006 [Permanent Link]

Hi Valentin

The patch seems to fix the issue.

#251042 by Kristof Coomans on December 21st, 2006 [Permanent Link]

Fixed in
3.9.1 (stable/3.9 rev. 17821),
3.10.0alpha1 (trunk rev. 17814, 17815, 17820).

#251052 by Valentin Doroschuk on December 22nd, 2006 [Permanent Link]

- History
Properties
Type Bug
Priority Medium
Component Misc
Affects 3.9.0
Fix Version -
Reporter Kristof Coomans
Responsible Valentin Doroschuk
Status 0 Closed
Resolution Fixed
Created December 21st, 2006
Updated December 22nd, 2006
Resolved December 22nd, 2006
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #019127
  DB Deadlocks on ezcontentobject_tree when updating subnode