It would be neat if the relationships could have import / export abilities. using Ctools maybe?
Jen

Files: 
CommentFileSizeAuthor
#17 user-relationships-features-691034-17.patch3.42 KBjhedstrom
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]
#16 interdiff.txt758 bytesjhedstrom
#16 user-relationships-features-691034.patch33.78 KBjhedstrom
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]
#12 user_relationships-691034-11.patch3.8 KBmrded
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]
#10 user_relationships-691034-10.patch3.76 KBmrded
FAILED: [[SimpleTest]]: [MySQL] Setup environment: failed to clear checkout directory.
[ View ]
#9 user_relationships-691034-9.patch3.75 KBmrded
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]
#5 user_relationship-691034-features.patch6.29 KBhefox
FAILED: [[SimpleTest]]: [MySQL] 819 pass(es), 15 fail(s), and 6 exception(s).
[ View ]

Comments

subscribing

Issue tags:+CTools exportables

Adding the obligatory cTools Exportables tag.

*bump*

I really want to be able to export user relationships through Features.

Status:Active» Postponed

I 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.

Title:Relationship ExportablesFeatures support to export user_relationships
Version:6.x-1.0-beta10» 7.x-1.x-dev
Status:Postponed» Needs review
StatusFileSize
new6.29 KB
FAILED: [[SimpleTest]]: [MySQL] 819 pass(es), 15 fail(s), and 6 exception(s).
[ View ]

Very 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).

Status:Needs review» Needs work

The last submitted patch, user_relationship-691034-features.patch, failed testing.

bug: Need to add dependency to features (Assuming I'll find other bugs so will update patch later).

Is it always planned ?

Component:User interface» Code
Priority:Normal» Major
Status:Needs work» Needs review
StatusFileSize
new3.75 KB
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]

Please, check out my patch.

StatusFileSize
new3.76 KB
FAILED: [[SimpleTest]]: [MySQL] Setup environment: failed to clear checkout directory.
[ View ]

New patch with machine name support.

Apply #1980610: Add machine name to user_relationships first.

Status:Needs review» Needs work

The last submitted patch, user_relationships-691034-10.patch, failed testing.

StatusFileSize
new3.8 KB
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]

Update.
Once again, this patch required #1980610: Add machine name to user_relationships

Status:Needs work» Needs review

Priority:Major» Critical

Please! any feedback?

#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

StatusFileSize
new33.78 KB
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]
new758 bytes

Patch 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.

StatusFileSize
new3.42 KB
PASSED: [[SimpleTest]]: [MySQL] 1,141 pass(es).
[ View ]

Oops, patch in #16 contains changes from #1980610: Add machine name to user_relationships.

applying #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.

Issue summary:View changes
Status:Needs review» Reviewed & tested by the community