[wp-meta] [Making WordPress.org] #703: Keep track of which WordCamps each profile has spoken at and organized

Making WordPress.org noreply at wordpress.org
Thu Oct 30 15:56:15 UTC 2014


#703: Keep track of which WordCamps each profile has spoken at and organized
--------------------+----------------------
Reporter:  iandunn  |      Owner:
    Type:  defect   |     Status:  new
Priority:  normal   |  Component:  Profiles
Keywords:           |
--------------------+----------------------
 There's a design flaw in the Profiles association handler which may be
 contributing to bugs like #681 and #683, but will definitely cause other
 bugs at some point, even if those two tickets turn out to be caused by
 something different.

 We're assuming that a profile is only going to be associated with a single
 WordCamp, which will cause problems if certain situations. For example,

 1. Jane Doe is added as a speaker for WordCamp Boston 2014. She hasn't
 been a speaker before, so when the association notification is sent, the
 Speaker badge is added to her profile.
 1. Nine months later, she's accepted as a speaker for WordCamp Boston
 2015, and another notification is sent. The badge already exists, so
 nothing changes.
 1. A month later, she has to cancel, so the notifier sends a request to
 remove the association for Boston 2015. At this point she should still
 have the badge, because of her association for Boston 2014, but the badge
 is removed because we're not keeping track of how many camps she's spoken
 at.

 The same situation applies to organizers.

 When adding a profile to the Organizer and Speaker groups, we should store
 the WordCamp ID associated with that action. Then, when we remove an
 association, we should check if they have other associations before
 removing them from the corresponding group.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/703>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list