Update hook 7000 outputs HTML "item-list" on drush command line

Created on 30 August 2015, over 9 years ago
Updated 11 July 2024, 6 months ago

Such a list output can also cause an out of memory if the list get's very large

Do you wish to run all pending updates? (y/n): y
Performed update: redirect_update_7000                                                                                                                            [ok]
Migrated 32 redirects. The following 1 redirects were not migrated since there were already existing redirects for the path and language combination:<div         [ok]
class="item-list"><ul><li class="first last">RID 43: foo/bar</li>
</ul></div>
Performed update: redirect_update_7000                                                                                                                         [ok]
Performed update: redirect_update_7100                                                                                                                         [ok]
Performed update: redirect_update_7101                                                                                                                         [ok]

This is caused by this code in update hook 7000:

    if (!empty($sandbox['skipped'])) {
      $return .= " The following $skipped redirects were not migrated since there were already existing redirects for the path and language combination:" . theme('item_list', array('items' => $sandbox['skipped']));
    }

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024