Entity Share is a all in one module allowing you to share some entities like node, field collection, taxonomy, medias etc between different Drupal instances.

How does it work ?

The principle of this module is to generate some export from one instance and to send this exported datas to a remote Drupal using a server that will import the datas.

The limitation there is that you MUST have exactly the same content types, field_collections, taxonomy vocabularies between all your instances. This module manage the export of contents, not of structures (you can use features module to synchronise your structure for example).

You can just use the module for its Export and Import Entity API.

Features

  • Import/Export Entities
  • Scald Atoms
    • Atom reference
    • Embedded Atoms in RTE
  • Field Collection
  • Taxonomy terms
  • Files
  • Entity Reference (coming soon)
  • Extendable to implement new field type

Compatibility

Requires PHP 5.3+

Depends

Version

D7 Version (initial development).

D8 Version is planned.

Other informations

Sandbox page: https://www.drupal.org/sandbox/ithom/2462927

git clone --branch 7.x-1.x https://git.drupal.org/sandbox/ithom/2462927.git entity_share

This module is supported by Smile, a company that already has several Drupal contributions.

Comments

PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxithom2462927git

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

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

Chandan Chaudhary’s picture

Hi ithom,

Please change the GIT url to

git clone --branch 7.x-1.x-dev git.drupal.org:sandbox/ithom/2462927.git

this will allow other user to clone your project with there credential. :)

ithom’s picture

Issue summary: View changes

I did some changes for the coding standard.

I changed also the branch name to respect branch names so the Git command is now:
git clone --branch 7.x-1.x git.drupal.org:sandbox/ithom/2462927.git

ithom’s picture

Status: Needs work » Needs review

All the changes possible were done to be pareview.sh compliant (note that some "problems" are still there but I don't agree with robot there).

ziomizar’s picture

Status: Needs review » Needs work

Hi ithom,

- The git command in summary still wrong, you can get it from your project page, under version control tab, remove the maintainer flag and click on show.

- What the differences with services module? Why you can't use it?

- There are errors on your pareview http://pareview.sh/pareview/httpgitdrupalorgsandboxithom2462927git

- entity_share.module implement only hook_entity_load() that do nothing other than changing the type of all loaded entities. Add a comment.

- In modules/entity_share_ui/modules/entity_share_ui_client/entity_share_ui_client.share.admin.inc line 39 you get directly from $_POST the $nids

    else {
      $nids = explode(',', $_POST['nids']);
    }   
  }

  $nodes_table = entity_share_ui_node_list($nids);
 

Then you are using it in node_load_multiple without any security check

function entity_share_ui_node_list(array $nids) {
  // Table header.
  $header = array(
    array('data' => t('Id')),
    array('data' => t('Name')),
    array('data' => t('Type')),
    array('data' => t('Language')),
  );

  $nodes = node_load_multiple($nids);

- You are implementing the same hook in :

modules/entity_share_medias/entity_share_medias.module
modules/entity_share_taxonomy/entity_share_taxonomy.module
entity_share.api.php

Also you don't define any of this hooks with drupal_alter(), module_invoke_all() or module_invoke() see Creating Drupal 7 hooks

ithom’s picture

Issue summary: View changes
ziomizar’s picture

Also read Apply for permission to create full projects :

Before you enter the project application process, you should first make sure that your project is a release candidate (rc). While sandbox projects cannot have release tags, your project should measure up to the rc standard. Entering the process too early with a poorly documented and buggy project will usually result in the review process taking a much longer time than necessary,

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

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

Grimreaper’s picture

Issue summary: View changes

Updating git command.

ithom’s picture

Status: Closed (won't fix) » Needs review
ziomizar’s picture

Status: Needs review » Needs work

I guess that you have to explain and solve a lot of problems on this module before to change the status in need review.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. If you are still working on this application, you should fix all known problems and then set the status to "Needs review". (See also the project application workflow).

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