Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#5 | hosting-hosting_import-3112951-5.patch | 414 bytes | mrinalini9 |
#2 | hosting-hosting_import-3112951-2.patch | 427 bytes | npacker |
Comments
Comment #2
npacker CreditAttribution: npacker commentedComment #3
npacker CreditAttribution: npacker commentedComment #4
SocialNicheGuru CreditAttribution: SocialNicheGuru commented(Stripping trailing CRs from patch; use --binary to disable.)
patching file hosting.drush.inc
patch: **** malformed patch at line 11: ·
Comment #5
mrinalini9 CreditAttribution: mrinalini9 at Material for Drupal India Association commentedRerolled patch #2, please review it.
Comment #6
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedit applies