Defect #5538
closed
Default 'my page' widgets lost after adding first widget.
Added by Dominic Clifton over 14 years ago.
Updated almost 7 years ago.
Description
Steps to repeat:¶
- login with a new user account
- click 'my page'
- click 'personalize'
- choose a widget, click 'add'
- observe new widget it added to the page, along side existing widgets.
- click 'my page' to reload the page.
- observe that only the just-added widget is displayed and the previous default widgets are no longer present.
Expected behviour¶
- Default widgets are displayed on subsequent page views along side newly added widget.
Notes¶
This occurs on www.redmine.org as of 17/May/2010 and on my local instance.
Files
I can confirm the issue on a local trunk installation. It does only occur for new users which have not yet an entry in the user_preferences table. Following r3194, the my page layout is initialized empty instead with DEFAULT_LAYOUT. The attached patch fixes this and provides some tests.
- Category set to My page
- Status changed from New to Confirmed
- Affected version (unused) set to 2.2.1
- Affected version set to 2.2.1
I can confirm this misbehaviour.
This is still included in Redmine 2.2.1.
The patch looks good in my opinion. It should correct this bug.
- Target version set to Candidate for next minor release
There's even a test, woohoo.
- Status changed from Confirmed to Closed
- Resolution set to Wont fix
I'm closing this issue because "My page" was refactorized in 3.4.0 and "Personalize" mode doesn't exists anymore (the widgets are edited inline). Please reopen it if I'm wrong.
- Target version deleted (
Candidate for next minor release)
Also available in: Atom
PDF