Ticket #1171 (closed bug: fixed)
MyPreference on production isn't working
| Reported by: | crumbking | Owned by: | micha |
|---|---|---|---|
| Priority: | critical | Milestone: | new design bugfixing |
| Component: | BW Profile | Version: | production |
| Keywords: | profile, preferences | Cc: | micha@… |
| Follow up needed: | none | Frequently reported: | 1 |
| Announce on BW: | no |
Description
I wasn't able to change any settings in mypreferences.... after submit there were still the old setting marked.
BW Rox version: user agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 request uri: http://www.bewelcome.org/mypreferences
Change History
comment:1 Changed 15 months ago by micha
- Follow up needed changed from none to test
- Component changed from BW General to BW Profile
- Owner set to micha
- Version set to production
- Keywords profile, preferences added
- Type changed from unknown to bug
comment:2 Changed 15 months ago by crumbking
I tried to change my default language from "deutsch" to "english" and hit the submit buttom (after submit it's still deutsch)
Then I tried to change "PreferenceAcceptNewsByMail?" from "yes" to "no" but after testing again they work now!!
So just the default language drop down does not change....
btw: there is urgent some translator work needed...
comment:3 Changed 15 months ago by micha
Maybe now I understand it a little better: Do you expect the site's language to change instantly after you set it in mypreferences?
If that's the problem: You're right, that doesn't work for me either. We could change that if you like..
comment:4 Changed 15 months ago by crumbking
- Follow up needed changed from test to none
- Milestone changed from unassigned to new design bugfixing
yes If iI change default language to, lets say, Lithuanian than I wanna surf the site by default in Lithuanian after I logged in.
But at the moment I can't change the default language in the drop down at all. After submit it is still "deutsch"
comment:5 Changed 14 months ago by micha
I don't know how to proceed here. I need a more detailed bug report.
comment:6 Changed 14 months ago by crumbking
Okay, I will try again ;)
I go to www.bewelcome.org. (site is in English) I login and the site language change to German. I want to surf Bewelcome in English, always!! So I go to "Einstellungen" (Preferences), choose in the "Standardsprache" drop down: "English", scroll down and hit the submit button.
Result: Site is still in German!!! If I look in the "Standardsprache" drop down than it's still "deutsch"!
Means: I can't change my "Standardsprache" (default language) as it doesn't change after the submit.
Nächstes mal schreib ich das in deutsch ;)
comment:7 Changed 14 months ago by fake51
This only happens to some people - I've succesfully set my default language to German now. I'm checking the database for possible clues
comment:8 Changed 14 months ago by fake51
Right, there's at least one bug with preferences and language - it doesn't have immediate effect. When you change default language, you expect the site to change straight away
comment:9 Changed 14 months ago by fake51
- Follow up needed changed from none to test on alpha
I've fixed an exception causing bug/sql injection vector in changing preferences + changing preferences to update language immediately when it's changed. It's on alpha pending general testing: due to bad language model design (using 0 as id) I've had to modify entities code). Please give alpha a proper test and check if things are working in general - especially members and groups apps.
comment:10 Changed 14 months ago by fake51
- Follow up needed changed from test on alpha to release
This is live now, please give it a test
comment:11 Changed 14 months ago by globetrotter_tt
"Choose your time zone" should be replaced by a combobox. Yes/no looks a bit weird there ;-) Also the "public profile" option is missing. Basically check the old http://www.bewelcome.org/bw/mypreferences.php what should be included there.
It's party also my fault as i started to work on the rox preferences template on test, but could not finish it because i was on the road for 2 weeks. Somehow it was moved to production already without further intensive testing :-(
comment:12 Changed 14 months ago by micha
- Cc micha@… added
- Follow up needed changed from release to test
I just added a dropdown for the local time and the public profile setting. Could you test that it works on test?
comment:13 Changed 14 months ago by crumbking
tested... Public/non public option works. Local time settings are able to change but after a test for berlin/paris in a new forum post: Instead of 11.16 am it was 10.16 am. tested with berlin, london, sydney in the forum. same time so seems not no work.
also an option for daylight savings is missing...?
comment:14 Changed 14 months ago by crumbking
ok just tested once again. no it shows right time for sydney time zone... seems to be that I have to login again.
so just daylight savings left
comment:15 Changed 14 months ago by crumbking
- Follow up needed changed from test to test on alpha
seems someone moved stuff to alpha and forgot about the ticket.
Please, give the TESTERS a chance to to follow your moves and change ticket settings. otherwise its pointless :(
comment:16 Changed 14 months ago by crumbking
see also ticket:1238
comment:17 Changed 13 months ago by crumbking
- Follow up needed changed from test on alpha to release
seems to work on alpha.
move live.
comment:18 Changed 13 months ago by micha
- Follow up needed changed from release to none
- Status changed from new to closed
- Resolution set to fixed
moved live in r8909

Can't reproduce the problem on Firefox 3.0 and Safari 4.0 on a Mac. Could you test it more and figure out the details? E.g. what preferences are "on", which are "off" etc.