Forums / Install & configuration / Configuration error or bug?

Configuration error or bug?

Author Message

Thomas Nunninger

Wednesday 01 June 2005 9:07:01 pm

Hi,

as I do not know if I perhaps made an error while configuring my siteaccess I first ask here. (But I consider it is a bug.)

I installed a plain setup. The admin interface has locale eng-GB, the users' siteaccess is changed to ger-DE.

If a user registers him-/herself in the users' siteaccess the user is not editable in the admin interface because no data is shown - even no input fields. It's even not possible to add an english translation when editing the user (I don't know if this would be sensefull).

I think it is because the user object is created with the German locale (the error does not appear if the locale of the plain siteaccess is not changed).

Here the changes in /settings/siteaccess/plain/site.ini.append.php:

...
[RegionalSettings]
Locale=ger-DE
ContentObjectLocale=ger-DE
TextTranslation=enabled
...
[ContentSettings]
TranslationList=eng-Gb;ger-DE
...

And here the /settings/siteaccess/plain_admin/site.ini.append.php

...
[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
TextTranslation=disabled
...
[ContentSettings]
CachedViewPreferences[full]=admin_navigation_content=0;admin...
TranslationList=fre-FR;ger-DE
...

Any idea?

Thank you and have a nice day

Thomas

P.S.: Have a nice Camp.

Ɓukasz Serwatka

Monday 06 June 2005 4:22:21 am

Hi Thomas,

This is configuration error. The user page must be the same content-locale as the admin page if both are going to modify/create objects.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Thomas Nunninger

Monday 06 June 2005 6:36:13 am

Hm,

that's not nice. This means that I have problems with all multi-language sites define by different siteaccesses (like all the documentation pages say) when users register thereself :(

Does this only affect modifying an object created in another language? Reading is allways ok?

Any idea for a workaround? E.g. after/before(?) publish workflow which "translates" the object to the other needed languages?)

Will the announced language improvements in 3.7 help with this?

Thank you and have a nice day

Thomas

Jan Borsodi

Wednesday 08 June 2005 12:36:13 am

> Does this only affect modifying an object created in
> another language? Reading is allways ok?

Yes, it only affects modifying the object. Reading works.

> Any idea for a workaround?
I don't think there is an easy way to work around this problem.

> Will the announced language improvements in 3.7
> help with this?

This is going to solved with improved multi-language support, see this spec:
http://ez.no/community/developer/specs/improved_content_multilangue_support

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq