10.5.x - Issue #2894747 Views hardcodes exposed filter block form ID's which breaks AJAX when the same form is shown multiple times on one page
Open
10.5.x - Issue #2894747 Views hardcodes exposed filter block form ID's which breaks AJAX when the same form is shown multiple times on one page
1 unresolved thread
1 unresolved thread
Closes #2894747
Merge request reports
Activity
578 $this->fail(new FormattableMarkup('The page @url contains no HTML IDs.', $args)); 579 return; 580 } 581 582 $message = new FormattableMarkup('The page @url contains duplicate HTML IDs', $args); 583 584 $seen_ids = []; 585 foreach ($elements as $element) { 586 $id = $element->getAttribute('id'); 587 if (isset($seen_ids[$id])) { 588 $this->fail($message); 589 return; 590 } 591 $seen_ids[$id] = TRUE; 592 } 593 $this->assertTrue(TRUE, $message); This is failing here: https://git.drupalcode.org/issue/drupal-2894747/-/jobs/4054431#L249
TypeError: PHPUnit\Framework\Assert::assertTrue(): Argument 2 ($message) must be of type string, Drupal\Component\Render\FormattableMarkup given
Edited by Eric Volkernickchanged this line in version 2 of the diff
added 1 commit
- 55672ff2 - Fix unit test for exposed form duplicate ids
Please register or sign in to reply