- Issue created by @dgilbert
- ππΊHungary yce
Hi,
There is an update hook for that:
brightcove_update_8114()
.
Updating from 3.2.0 to 3.2.1 and running database updates should increase the description field's to 500. I see that hook in the module code but it does not seem to apply with updatedb?
- ππΊHungary yce
Are you sure that this update ran successfully?
On a local dev environment, I was able to upgrade to 3.2.1 from 3.2.0.
I can see the increased size of the column in the database which after the sync run successfully. In both our local and remote environments the module update ran successfully, but in both cases the db hook update does not appear to be applied per the status report error.
- ππΊHungary yce
Okay, can you please provide how to reproduce the issue?
Also, can you provide the used database type/version, php and Drupal versions?
I'm not sure what to say about reproducing the issue other than; update the module from 3.2.0 to 3.2.1 and run the Drupal status report Status Report /admin/reports/status.
Our local dev environments run mysql 5.7 and php 8.2.15. Our remote test environments run mysql 5.7.4 and php 8.2. Drupal is 10.3.2.
- πΊπΈUnited States kruser
we're seeing this issue too. the update hook runs, but the message remains.
We're seeing this message in Status Report too. We updated from 3.2.0 to 3.2.1, and I can also confirm that `brightcove_custom_field.description` length was 255 with 3.2.0 and is now 500 with 3.2.1. (I don't know enough about how any of this works to be able to offer suggestions for how to fix this, sorry!)
- ππΊHungary yce
Okay, so the description field gets updated properly to have the length of 500.
I have tested the update path using MySQL 5.7.44, PHP 8.2.25, Drupal 10.3.Regarding the error message I've found that the entity definition needs to be (re-)installed, seems to solve the issue.
I've pushed the fix to the latest dev.