Modify

Ticket #555 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Error on Change Language

Reported by: anna Owned by:
Priority: major Milestone: 4.0 zFinal
Component: Architecture Severity:
Keywords: Cc:
Who will test this: And

Description

Not sure if this is related to the error on personalize form...

I was in site setup, on this page:

I clicked the English flag to revert back to the English language, from Indonesian, and got this error.

 http://testing.plumi.org/@@usergroup-userprefs?form.submitted=1&searchstring=anna&b_start=0&users:list=id%3A%20anna%2C%20roles%3A%20[%27Member%27%2C%20%27Reviewer%27%2C%20%27Manager%27]&users:list=id%3A%20DKyngasa%2C%20roles%3A%20[%27Member%27]&users:list=id%3A%20guannajig%2C%20roles%3A%20[%27Member%27]&form.button.Modify=Perubahan%20diterapkan&showAll=&set_language=en&_authenticator=f1aba12e5cbde4744c889ebcc86166e23c95cc31

We’re sorry, but there seems to be an error…

Here is the full error message:

Display traceback as text

Traceback (innermost last):

  • Module ZPublisher.Publish, line 127, in publish
  • Module ZPublisher.mapply, line 77, in mapply
  • Module ZPublisher.Publish, line 47, in call_object
  • Module plone.app.controlpanel.usergroups, line 144, in call
  • Module plone.app.controlpanel.usergroups, line 233, in manageUser

AttributeError?: 'str' object has no attribute 'id'

Attachments

Change History

comment:1 Changed 2 years ago by mike

hmmm I can only reproduce it by clicking on your link, but I don't seem to be able to reproduce it by searching for a user name in indonesian and the switching to english. Can you describe the steps to reproduce this?

comment:2 Changed 2 years ago by anna

Ok, that took a bit of testing to figure it out, but:

Logged in as "anna".

Clicked Indonesian flag on this page:  http://testing.plumi.org/

Clicked site setup to go here:  http://testing.plumi.org/plone_control_panel

Clicked Users and Groups:  http://testing.plumi.org/@@usergroup-userprefs

Searched for "anna" in users in that page (Users Overview).

Clicked tickbox for "Reviewer" role next to the "anna" user

Clicked the English flag.

This does seem like a relatively obscure error, given that I was changing languages in the middle of changing user preferences, but I guess it should be robust enough to handle this.

HTH.

comment:3 Changed 2 years ago by mike

Taking the same steps in a pure plone 4 instance results in the same error. I'll open a ticket for it in the linguaplone issue tracker, maybe they'll have some input but it is rather rare to come up.

comment:4 Changed 2 years ago by anna

  • Status changed from new to closed
  • Resolution set to fixed

Thanks Mike, I think then we can tick this off, as it is a rare and obscure issue. As long at it's noted in the linguaplone tracker I think this is all we need to do for now.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.