Experimental project

This is a sandbox project, which contains experimental code for developer use only.

The module consist of 3 modules which extends Deployment module:

- menu_parent_deploy
Module fixes menu parent hierarchy issues by using the menu and node services to discover the correct remote parent item to select when deploying nodes.
This code could be included directly in node_deploy.module but it was easier to keep it separate during development.
This still has issues when sending over new parent and child nodes as part of the same deployment; if the child nodes are sent first, obviously the parents don't yet exist, so the lookup fails and the items are incorrectly parented. However, this seems difficult to solve fully, especially if you are sending a large menu tree with more than two levels of parent/child items in a single plan - the plan item weight system can't easily cope with this level of complexity, especially if some of those nodes have further dependencies on other nodes. There are seemingly impossible chicken-and-egg corner cases if a parent menu item has a nodereference field to a child menu item, for example.

Read more: #599420: menu parent hierarchy issues

- upload_deploy
- upload_service
upload_deploy module deploy uploaded file attachments using the Deployment framework and upload_service provides a node attachment upload service.

Both modules fixes compatibility issues with Upload module.
The modules extend this further. upload_deploy ensures that file attachments are given UUIDs and are deployed in a similar way to filefields, and upload_service handles saving $node->files on the remote end after the node has been transferred. I couldn't get this working directly during node deployment; new nodes would transfer correctly, but when updating existing nodes, $node->files always ended up empty after drupal_execute()'ing the node form, even if all values (including 'new') were set correctly - this seems to be a limitation of the way the upload element is attached to the node form and Form API's handling of this. This workaround of sending the file list afterwards seems to work.

Read more: #459192: Deploy module doesn't work with upload module

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (< 10KB) 2013-Sep-30 Notes

--
This development was sponsored by Opsview.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Created by kenorb on , updated