Opened 12 years ago
Closed 12 years ago
#5860 closed defect (bug) (fixed)
XProfile: Updating group order should purge 'xprofile_groups_inc_empty' cache
| Reported by: | r-a-y | Owned by: | r-a-y |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Extended Profile | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
On the "Users > Profile Fields" admin page, create a bunch of profile groups.
Next, go to your "Profile > Edit" page to view the profile group tabs. Everything should be all good.
Now, go back to the "Users > Profile Fields" admin page, and rearrange the Profile Groups in a different order. Then, navigate back to "Profile > Edit" on the frontend. The profile group tabs are not showing the newer order.
The problem is we are not clearing the cache when a Profile Group is reordered.
01.patch fixes this and includes a unit test.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Forgot to mention that you need an object cache enabled to see the bug. The unit test should demonstrate the problem though.