Opened 12 years ago
Last modified 9 days ago
#2076 new defect (bug)
Potential Problem with bbp_get_displayed_user_field()
Reported by: | mordauk | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 2.2.2 |
Component: | Component - Users | Keywords: | |
Cc: |
Description
I noticed some really strange behavior today with the bbp_get_displayed_user_field() function.
- I went to profile edit screen for one of my forum users to grab their email address
- I left the profile edit page
- I went to the profile edit screen for another (different) forum user to grab their email address
- The email field showed the email addressed for the first user that I accessed, but all other fields were correct
- I refreshed the page an the user's email field corrected itself to show the proper email for the user
I haven't dug into the issue too far, nor have I been able to consistent replicate the behavior, but I suspect it has to do with $bbp-displayed_user not getting updated 100% when profile screens are loaded.
Change History (2)
Note: See
TracTickets for help on using
tickets.
If a refresh fixed it, then it's likely browser cache. The displayed_user variable is selectively, dynamically loaded when visiting a user's profile. It isn't persistent across multiple page loads.