When running a drush command such as:

drush @hostmaster hosting-import @site-alias

The expected behavior would be to spawn an import task on the front-end. Instead, an install task is spawned. This is due to a missing property on the node object, which is checked in hosting_site_node_insert() of hosting_site.nodeapi.inc.

Setting the missing property in hosting_drush_import() of hosting.drush.inc fixes this particular issue.

Comments

npacker created an issue. See original summary.

npacker’s picture

StatusFileSize
new427 bytes
npacker’s picture

Status: Active » Needs review
socialnicheguru’s picture

Status: Needs review » Needs work

(Stripping trailing CRs from patch; use --binary to disable.)
patching file hosting.drush.inc
patch: **** malformed patch at line 11: ·

mrinalini9’s picture

Status: Needs work » Needs review
StatusFileSize
new414 bytes

Rerolled patch #2, please review it.

socialnicheguru’s picture

it applies