Closed (fixed)
Project:
Brightcove Video Connect
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2016 at 07:30 UTC
Updated:
25 Nov 2016 at 05:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dawehnerThere we go.
Comment #3
yce commented@dawehner But it's not limited to 60 characters, the max_length for the name field on the Video entity is not even defined.
We left it undefined because we wanted to use the Drupal's default which is 255 characters.
Comment #4
dawehner@yce
Please checkout the database schema. It certainly had a maximum length of 60 here.
Comment #5
dawehnerThank you for responding that quickly.
You probably just wanted to configure the textfield widget, right? See
\Drupal\Core\Field\Plugin\Field\FieldWidget\StringTextfieldWidgetComment #6
yce commentedAh okay, I see now, we forgot the update hook to update the schema, thanks!
Can you create a patch only for that?
Also why varchar_ascii? Why not simply varchar?
I think we don't want that for the name field.
I the meantime if you run the
drupal update:entitiescommand it will update the schema.Comment #7
dawehnerGood point
Comment #8
dawehnerOH I just realized we are running on an old version of the module, with way too many patches applied.
Comment #9
dawehnerWe don't need the update path I guess? Well, here is a patch just for my installation, but yeah let's close the issue. You've already fixed it. Sorry for the noise.
Comment #10
dawehnerComment #11
jan.mashat commented"it seems there is no way to provide an upgrade path that keeps all your data."
https://www.drupal.org/node/2766697
Comment #12
dawehner@jan.mashat
I'm pretty sure the update path which was included as part of the patch above, should fix that as expected. This is AFAIK the recommended way to update database schema and so forth, when there is already production data. There is no automation, because that would be simply too hard to write.