Timeline for How to change the length of field settings?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 24, 2017 at 1:39 | comment | added | dieuwe | @Dalin my comment should still be valid for D7, although this answer could use a few edits to include my comment and the D8 equivalent from you too. | |
Oct 20, 2017 at 15:26 | comment | added | Dalin |
@dieuwe's comment is wrong. That file doesn't exist in recent versions of D8 (if it ever did). You need to comment out the two lines in core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php that throw exceptions with the text "The SQL storage cannot change the schema for an existing field". About lines 1312 and 1403.
|
|
Nov 23, 2015 at 6:12 | comment | added | dieuwe |
If you get a FieldUpdateForbiddenException: cannot change the schema for an existing field with data you also need to comment out L282 on modules/field/modules/field_sql_storage/field_sql_storage.module .
|
|
Sep 4, 2014 at 19:49 | comment | added | jchwebdev | I could not get this to work. After commenting that line, I still got a MYSQL error that ALTER TABLE failed. | |
Aug 27, 2011 at 8:37 | comment | added | EKK | Concerning committing the drupal issue, please go ahead and do it. | |
Aug 27, 2011 at 8:36 | comment | added | EKK |
Thanks for your answer. I have comment the line and now I can modify the value form the field, however I get the following error after sumbit: Attempt to update field Serial No failed: field_sql_storage cannot change the schema for an existing field with data..
|
|
Aug 25, 2011 at 22:18 | history | edited | Dylan Tack | CC BY-SA 3.0 |
added 41 characters in body
|
Aug 25, 2011 at 22:10 | history | edited | Dylan Tack | CC BY-SA 3.0 |
added 141 characters in body
|
Aug 25, 2011 at 22:03 | history | answered | Dylan Tack | CC BY-SA 3.0 |