Closed (fixed)
Project:
Bean (for Drupal 7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Sep 2012 at 16:49 UTC
Updated:
7 Mar 2014 at 01:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jonhattanHere's a starting point open for discussion. I'd like to get some feedback before continue coding.
The patch allows to add beans to a deploy plan. Still to be done:
* show which plan is this bean part of, if any
* option to remove from a deploy plan
Some questions:
* Should it be a separate module or part of bean_uuid? A separate module within bean or a new project?
* What about renaming bean_uuid to bean_deploy?
Comment #2
indytechcook commentedI'd like some other people to comment on this one since I've never used deploy but I'd rather there be a module_exists around the hook_menu element rather then put a dependency on deploy. We shouldn't assume that the only use of uuid is deploy.
Comment #3
indytechcook commentedWhile I haven't test this patch I do have a thought. I'd rather see the deploy in a separate module rather then in bean_uuid.
Comment #4
sheldonkreger commentedThe patch in #1 appears to export the Bean, but when the feature containing the Bean is enabled, there is a fatal PHP error:
"PHP Fatal error: Cannot access empty property in mypath/modules/development/deploy/deploy.manager.inc on line 29"
Comment #5
damienmckennaI may need to work on this functionality this week.
Comment #6
damienmckennaOur project went in a different direction (not my call) so I'm not going to be working on this any time soon. Sorry.
Comment #7
drasgardian commentedI didn't see the error mentioned in #4, but I did run into the following error when trying to enable a deployment plan feature containing a bean.
PHP Fatal error: Call to undefined method stdClass::uri() in [path to modules]/entity/entity.module on line 1082
The attached patch fixed it for me.
Comment #8
indytechcook commentedSo this is a good idea but I do not want to put a hard dependency on the deploy module in uudi (yes there are other reasons), this could either to in a separate module or have a module_exists check.
Comment #9
indytechcook commentedThis functionality was added in this issue: #2138651: Add deploy_managed_ui_form_elements() to edit/create form
Comment #11
thtas commentedUpdated patch against latest HEAD