After update from alpha4 to alpha5 and then update database there is error:

[notice] Update started: entity_usage_update_8203
[error] SQLSTATE[22004]: Null value not allowed: 1138 Invalid use of NULL value: ALTER TABLE {entity_usage} CHANGE `target_id_string` `target_id_string` VARCHAR(128) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL DEFAULT '' COMMENT 'The target ID, when the entity uses string IDs.'; Array
(
)

[error] Update failed: entity_usage_update_8203
[error] Update aborted by: entity_usage_update_8203
[error] Finished performing updates.

CommentFileSizeAuthor
#2 2981394-2.patch1.06 KBmarcoscano

Comments

studionm created an issue. See original summary.

marcoscano’s picture

StatusFileSize
new1.06 KB

Argh it seems that the update hook is causing more troubles than it solves.
This will just skip changing the column in the DB.

Once our data is recoverable, existing sites that want to have this change implemented can always re-install and re-generate the usage data from the batch generation form.

  • marcoscano committed d1628b3 on 8.x-2.x
    Issue #2981394 by marcoscano, studionm: Update failed:...
marcoscano’s picture

Status: Active » Fixed
marcoscano’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pfrenssen’s picture