You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The post update description seems to be displayed in the wrong column.
To Reproduce
This is my post update hook declaration (in bupo_teasers.post_update.php) :
/**
* Update node_reference paragraphs.
*/
function bupo_teasers_post_update_6_test_migrate_teasers_field(&$sandbox) {
Expected behavior
The post-update should be correctly listed. Update description in the last column.
Actual behavior
see the description
Workaround
update.php shows the list of update descriptions correctly.
System Configuration
Q
A
Drush version?
10.6.2
Drupal version?
9.3.18
PHP version
8.0.19
OS?
Ubuntu (with WSL2)
Additional information UpdateDBCommands.php#L609
Trying to hard code the description like 'description' => 'X',
then the output is correct, the description X is displayed in the last column.
The text was updated successfully, but these errors were encountered:
The source of the problem is windows style line ends used in the post_update file.
Switching to linux line ends solves this issue (without needing to change anything in drush).
Describe the bug
This is my output of drush updb (same with drush updbst):
The post update description seems to be displayed in the wrong column.
To Reproduce
This is my post update hook declaration (in bupo_teasers.post_update.php) :
Expected behavior
The post-update should be correctly listed. Update description in the last column.
Actual behavior
see the description
Workaround
update.php shows the list of update descriptions correctly.
System Configuration
Additional information
UpdateDBCommands.php#L609
Trying to hard code the description like
'description' => 'X',
then the output is correct, the description X is displayed in the last column.
The text was updated successfully, but these errors were encountered: