Skip to content

Bug 889650: Fix tab character introduced in Search.pm indentation - #1

Closed
mrenvoize wants to merge 1 commit into
topunix:bug-889650-harmonyfrom
mrenvoize:bug-889650-harmony
Closed

Bug 889650: Fix tab character introduced in Search.pm indentation#1
mrenvoize wants to merge 1 commit into
topunix:bug-889650-harmonyfrom
mrenvoize:bug-889650-harmony

Conversation

@mrenvoize

Copy link
Copy Markdown

Summary

  • The fix for the Flags "match all of the same field" crash in this branch replaced FROM $bugs_table bugs_$chart_id with FROM bugs bugs_$chart_id, which is correct (the FROM clause opens a fresh correlated subquery and must reference the real bugs table, not the outer query's aliased table variable) — but the line was re-indented with a literal tab character instead of spaces.
  • This trips t/005whitespace.t, which fails the sanity suite.

Fix

Replace the tab with spaces, matching the alignment of the sibling LEFT JOIN lines in the same heredoc.

Test plan

  • docker compose -f docker-compose.test-mysql.yml run --no-deps bugzilla6.test test_sanity t/*.t extensions/*/t/*.t — 30 files, 14,208 tests, all pass (previously failing on t/005whitespace.t)

The fix for the Flags "match all of the same field" crash replaced
a tab-indented line with a literal tab character instead of spaces,
tripping t/005whitespace.t.
@topunix

topunix commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Thanks Martin, picked this up. Cherry-picked 35b26c3 onto bug-889650-harmony and pushed, so the branch on bugzilla#179 now has the detab. Closing this one since it landed via cherry-pick rather than merge (keeps the branch linear for the upstream PR). Appreciate you catching the whitespace test.

@topunix topunix closed this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants