Opened 10 years ago
Closed 9 years ago
#6420 closed defect (bug) (fixed)
Cannot set properties of BP_Activity_Feed object
Reported by: | needle | Owned by: | r-a-y |
---|---|---|---|
Milestone: | 2.4 | Priority: | normal |
Severity: | normal | Version: | 1.8 |
Component: | Activity | Keywords: | has-patch |
Cc: |
Description
Although class BP_Activity_Feed
has the bp_activity_feed_prefetch
filter, it doesn't seem possible to alter the passed object because it has no "magic" setter method. Patch attached.
Attachments (1)
Change History (8)
#1
@
10 years ago
- Keywords has-patch added
- Summary changed from Cannot set properties of class BP_Activity_Feed to Cannot set properties of BP_Activity_Feed object
#3
@
10 years ago
- Keywords dev-feedback added
- Milestone changed from Awaiting Review to Under Consideration
#5
@
9 years ago
Pinging @r-a-y again: i'd like to close this if it were intentional, or put it into 2.4.
Note: See
TracTickets for help on using
tickets.
This looks right to me, but it would be nice to see if @r-a-y had anything specific in mind when making
$data
protected. Maybe we need to blacklist some keys?