The data update script "nullify empty tag colors" failed to update because of the way it was written - in two passes, updating the background color for tags where the background color was empty, then updating the foreground color for tags where the foreground color was empty. Because both attributes have a validation regex, neither pass updated any tags (the problematic cases observed had empty string values in both columns). Perform in a single loop, over the union of the two sets (expected to include only the same rows as before), an update for both columns at once. Additionally, use update_columns which bypasses _other_ validation issues (the only one I could suspect is the alias_for check). Nullify empty strings in alias_for (simplifies a few things, now it's either valid or null). When a tag is detected with a "danlging alias" repair it by setting alias for nil. |
||
|---|---|---|
| .. | ||
| data_update_scripts | ||
| generators | ||
| liquid | ||
| omni_auth/strategies | ||
| sidekiq | ||
| sitemap_generator | ||
| slack/notifier/util | ||
| tasks | ||