Greetings,
I attempted to install this module via drush and had the following error crop up (apologies for formatting):
[vagrant@localhost www]$ bin/drush en brightcove
brightcove was not found. [warning]
The following projects provide some or all of the extensions not found: [ok]
brightcove
Would you like to download them? (y/n): y
Project brightcove (7.x-5.1) downloaded to sites/all/modules/brightcove. [success]
Project brightcove contains 2 modules: brightcove_field, brightcove.
The following extensions will be enabled: brightcove
Do you really want to continue? (y/n): y
WD php: FieldException: Cannot change an existing field's type. in field_update_field() (line 234 of /vagrant/builds/20141023-213538/modules/field/field.crud.inc). [error]
Cannot modify header information - headers already sent by (output started at /vagrant/builds/20141023-213538/profiles/www/vendor/drush/drush/includes/output.inc:38) bootstrap.inc:1224 [warning]
FieldException: Cannot change an existing field's type. in field_update_field() (line 234 of /vagrant/builds/20141023-213538/modules/field/field.crud.inc).
Drush command terminated abnormally due to an unrecoverable error. [error]
Then when I go to admin/modules in the UI:
FieldException: Cannot change an existing field's type. in field_update_field() (line 234 of /vagrant/builds/20141023-213538/modules/field/field.crud.inc).
Not a production site and I was just giving the module a spin, but thought you guys would like to know about this issue.
Comments
Comment #1
yce CreditAttribution: yce commentedFor me it looks like you have modified some field's property, and that is why you getting this error.
I could install from drush the brightcove module without any problems.
Please make sure if you can install the module on a fresh drupal installation with drush.
And if you still getting the problem, please provide some steps how to reproduce the problem, thanks!
Comment #2
heykarthikwithuComment #3
threequarks CreditAttribution: threequarks commentedI can confirm that the Drush installation still fails with Brightcove 7.x-6.0-beta2 , except that we're getting a field creation error.
The workaround is to add Brightcove to your installation profile.
Comment #4
heykarthikwithuComment #5
jan.mashat CreditAttribution: jan.mashat at Pronovix for BrightCove commentedWe haven't been able to reproduce this issue and drush installation works fine in the docker image:
https://github.com/janmashat/docker-drupal-brightcove
Are you using Features or any other modules which could be interfering here?
Comment #6
jan.mashat CreditAttribution: jan.mashat at Pronovix for BrightCove commentedThis version of the module is no longer supported. Only the latest 2 major versions are supported, which are currently 8.x-1.x and 7.x-6.x. Therefore I'm tagging this issue as 'unsupported' and closing it (cannot reproduce). If this issue is business critical for your organization, please contact your Brightcove account manager for further support.