We have moved to Github. Please open tickets there.

Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#4001 closed Defect (fixed)

Users Activity widget showing Admins data

Reported by: Purus Owned by: brettp
Priority: normal Milestone: Elgg 1.8.1
Component: Core Version: 1.8
Severity: minor Keywords:
Cc: brett@… Difficulty: easy

Description

1) The Activity widget is added to the profile of an user manually by Admin.
2) The user posted a blog.So there is an entry in his activity widget.
3) The Admin clicks the settings icon(The wheel icon on the widget) in the Activity widget in the users profile page and click SAVE button.
4)Now the users activity is being replaced by that of Admins.

Change History (4)

comment:1 Changed 19 months ago by brettp

  • Difficulty set to easy
  • Milestone changed from Needs Review to Elgg 1.8.1
  • Owner set to brettp

Partially confirmed. The json returned after saving the widget as an admin is incorrect. The correct data is shown on a reload.

comment:2 Changed 19 months ago by brettp

This is more complicated than I initially thought. The river widget presents different options depending on if it's being used in the profile or dashboard, so that logic is confusing the save action's return data since the action that calls the widget doesn't have a context.

I think a better long term solution is to split this widget into 3: My Activity, Friends' Activity, and Site Activity.

comment:3 Changed 19 months ago by Brett Profitt

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

Fixes #4001. Activity widget passes a context so correct output is displayed upon save.

Changeset: a50dd81e3737d8dc14f4a700255b3a19c58988b1

comment:4 Changed 19 months ago by Brett Profitt

Fixes #4001. Activity widget passes a context so correct output is displayed upon save.

Changeset: a50dd81e3737d8dc14f4a700255b3a19c58988b1

Note: See TracTickets for help on using tickets.