Description

The Relation UUID module enables you to featurize relations through the use of UUID's. Currently this module only provides support for relations with taxonomy term endpoints. Support for other endpoint entities is work in progress. This module could have become a part of UUID features, but because of the additional difficulties that come with the relations endpoints I thought it would be best to provide a standalone module until a stable version is released.

Setting up repository for the first time

git clone --branch 7.x-1.x Mywebmaster@git.drupal.org:sandbox/Mywebmaster/2075541.git relation_uuid
cd relation_uuid

Project page

https://drupal.org/sandbox/Mywebmaster/2075541

Simplytestme

http://simplytest.me/project/2075541

Testing

To test current functionality you should perform the following actions to set up the feature. If you would like to use simplytest.me to test functionality I've included a demo feature in the module so you can skip the Setups and dive right into the testing actions. To do this just go to > Structure > Features and enable the demo feature.

  1. Set up ability to create relations:

    • Enable the Relation UI module (> Modules)
    • Enable the Relation Add module (> Modules)
    • Enable the Relation Add block somewhere on the page (> Structure > Blocks)
  2. Set up content to insert into the feature:

    • Create a vocabulary (> Structure > Taxonomy + Add vocabulary)
    • Add some taxonomy terms to the vocabulary (> Structure > Taxonomy > List terms + Add terms)
    • Create a relation type with the Taxonomy term's vocabulary as Source and/or Target bundles (> Structure > Relation Types + Add relation type)
    • Create a relation by visiting a taxonomy term's page. (Use Relation add block or Relation entity collector block)
  3. Set up the feature that will hold the relation type, relation UUID's and endpoints:

    • Clear the cache so Relation UUID will show up in the Create feature's page (> Configuration > Performance > Clear all caches)
    • Set name and version of the feature (> Structure > Features > Create feature)
    • Add the relation you created previously and wait for features to add the dependencies (> Structure > Features > Create feature)
    • Generate or download feature. (> Structure > Features > Create feature + Generate feature or Download feature)
  4. Perform actions to test feature functionality:

      1. Delete the vocabulary (> Structure > Taxonomy > Edit vocabulary > Delete)
      2. Delete the relation type (> Structure > Relation types > Delete)
      3. Enable the feature (> Structure > Features)
      1. Edit and save a relation (> Content > Relations > Edit)
      2. Revert the feature (> Structure > Features > Your feature)
      1. Delete the vocabulary (> Structure > Taxnomy > Edit vocabulary > Delete)
      2. Revert the feature (> Structure > Features > Your feature)
      1. Change an endpoints UUID in the my_module.features.relation_uuid_term_relations.inc file. (in the file itself)
      2. Flush all caches to complete the rebuilding process. (> Configuration > Performance > Clear all caches)
    • Any other action you can think of...

Comments

alexverb’s picture

Status: Active » Needs review
PA robot’s picture

Multiple Applications
It appears that there have been multiple project applications opened under your username:

Project 1: https://drupal.org/node/2147579

Project 2: https://drupal.org/node/2118995

As successful completion of the project application process results in the applicant being granted the 'Create Full Projects' permission, there is no need to take multiple applications through the process. Once the first application has been successfully approved, then the applicant can promote other projects without review. Because of this, posting multiple applications is not necessary, and results in additional workload for reviewers ... which in turn results in longer wait times for everyone in the queue. With this in mind, your secondary applications have been marked as 'closed(duplicate)', with only one application left open (chosen at random).

If you prefer that we proceed through this review process with a different application than the one which was left open, then feel free to close the 'open' application as a duplicate, and re-open one of the project applications which had been closed.

I'm a robot and this is an automated message from Project Applications Scraper.

alexverb’s picture

Status: Needs review » Closed (duplicate)
avpaderno’s picture