Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
It would be neat if the relationships could have import / export abilities. using Ctools maybe?
Jen
Comment | File | Size | Author |
---|---|---|---|
#17 | user-relationships-features-691034-17.patch | 3.42 KB | jhedstrom |
#16 | interdiff.txt | 758 bytes | jhedstrom |
#16 | user-relationships-features-691034.patch | 33.78 KB | jhedstrom |
#12 | user_relationships-691034-11.patch | 3.8 KB | mrded |
#10 | user_relationships-691034-10.patch | 3.76 KB | mrded |
Comments
Comment #1
rburgundy CreditAttribution: rburgundy commentedsubscribing
Comment #2
rickvug CreditAttribution: rickvug commentedAdding the obligatory cTools Exportables tag.
Comment #3
okokokok CreditAttribution: okokokok commented*bump*
I really want to be able to export user relationships through Features.
Comment #4
mrf CreditAttribution: mrf commentedI am postponing any 6.x feature requests that don't have a current applicable patch to help sort the large list of open features.
Please feel free to set to 'needs review' once a patch is included.
Comment #5
hefox CreditAttribution: hefox commentedVery basic. Easier to do features than ctools (and some project I've seen try to adept ctools to existing ended up with features).
Adds a machine name to free up name to be changed without effecting the feature export; also may want to later consider making name non-unique so could use the same name for different situations/permissions (unno).
Comment #7
hefox CreditAttribution: hefox commentedbug: Need to add dependency to features (Assuming I'll find other bugs so will update patch later).
Comment #8
DuaelFrIs it always planned ?
Comment #9
mrded CreditAttribution: mrded commentedPlease, check out my patch.
Comment #10
mrded CreditAttribution: mrded commentedNew patch with machine name support.
Apply #1980610: Add machine name to user_relationships first.
Comment #12
mrded CreditAttribution: mrded commentedUpdate.
Once again, this patch required #1980610: Add machine name to user_relationships
Comment #13
mrded CreditAttribution: mrded commentedComment #14
mrded CreditAttribution: mrded commentedPlease! any feedback?
Comment #15
Andre-B#12 just tested it - works like a charm! thanks a lot for that. I wont change the status here because I am not sure I covered everything
Comment #16
jhedstromPatch in #12 worked, but I needed to make this slight adjustment in order for it to work during a site install (the
unset($relationship->rtid);
was breaking the menu hook which requires the$rtid
variable.Comment #17
jhedstromOops, patch in #16 contains changes from #1980610: Add machine name to user_relationships.
Comment #18
Andre-Bapplying #1980610: Add machine name to user_relationships first and https://drupal.org/comment/7998431#comment-7998431 afterwards works for me. I had to delete all of my old permission exports manually from the feature and database before I was able to create a new working export though.
Comment #19
Andre-BComment #20
heylookalive CreditAttribution: heylookalive commentedNudge, can we revive this and get it committed please?
Comment #21
heylookalive CreditAttribution: heylookalive commentedThis issue relies on #1980610: Add machine name to user_relationships
Comment #23
heylookalive CreditAttribution: heylookalive commentedWith the machine name issue in, the patch in #17 has been committed.
@andre-b the permissions thing is an annoyance but one that people will need to go through should they wish to upgrade to the upcoming alpha6 release. We'll need to make this very clear in the release notes.
@jhedstrom, @mrded thanks again for your work.
Comment #24
mrded CreditAttribution: mrded at WikiJob for WikiJob commentedAlways welcome :)