Defect #5538

Default 'my page' widgets lost after adding first widget.

Added by Dominic Clifton over 7 years ago. Updated about 5 years ago.

Status:ConfirmedStart date:2010-05-17
Priority:NormalDue date:
Assignee:-% Done:


Category:My page
Target version:Candidate for next minor release
Resolution: Affected version:2.2.1


Steps to repeat:

  1. login with a new user account
  2. click 'my page'
  3. click 'personalize'
  4. choose a widget, click 'add'
  5. observe new widget it added to the page, along side existing widgets.
  6. click 'my page' to reload the page.
  7. 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.


This occurs on as of 17/May/2010 and on my local instance.

keep_default_widgets.diff Magnifier (3.1 KB) Holger Just, 2010-05-17 15:44


#1 Updated by Holger Just over 7 years ago

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.

#2 Updated by Daniel Felix about 5 years ago

  • 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.

#3 Updated by Etienne Massip about 5 years ago

  • Target version set to Candidate for next minor release

There's even a test, woohoo.

Also available in: Atom PDF