Package: zope-i18nlayer
Version: 0.5.5-3

Zope login dialog appears when I try to add an i18nlayer. I enter my login and 
password, but login dialog appears again (it happens if I try to login with 
user having manager role too). So I can't log in. After that I press 'Cancel' 
and I get an error message:

Error Type 
        Unauthorized
Error Value 
        You are not allowed to access 'mode' in this context
        
I see that i18nlayer is created but it can't be edited because an attempt to 
get access to /base_edit leads to an error described above.
The most strange thing is that I am logged out after that. So I have to log in 
again to get access to ZMI for example.

Also I noticed some strange things when I tried to found a solution.
I18NContent.py contains the following lines:

line 46: 
available_languages=self.getFilteredLanguageMap(verifypermission=verifypermission).keys()

line 94: def getFilteredLanguageMap(self, verifypermission=1):
line 95:    # returns a language code to id mapping
line 96:    raise NotImplementedError

It looks like the only purpose of getFilteredLanguageMap() is to raise an 
error. I think this must be checked.


I'm using Zope 2.7.4-0-0, Plone 2.0.4-3, Archetypes 1.3.1-1, I18NLayer 0.5.5-3

The only plone product installed is i18nlayer (and of course products that it 
depends on: Archetypes, etc.)





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to