Wrong XPath query in FieldUiTestBase.php

Created on 2 November 2013, about 11 years ago
Updated 30 April 2024, 8 months ago

\Drupal\field_ui\Tests\FieldUiTestBase::fieldUIAddNewField()
\Drupal\field_ui\Tests\FieldUiTestBase::fieldUIAddExistingField()

Every $this->assertFieldByXPath() is fail, because the XPath is wrong.
Therefore only the first field name is collected.

πŸ› Bug report
Status

Fixed

Version

8.0 ⚰️

Component
FieldΒ  β†’

Last updated 1 day ago

Created by

πŸ‡­πŸ‡ΊHungary Sweetchuck Budapest

Live updates comments and jobs are added and updated live.
  • PHP 5.5

    The issue particularly affects sites running on PHP version 5.5.0 or later.

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.

  • πŸ‡ΈπŸ‡°Slovakia poker10

    Thanks for working on this. Most recent Drupal 7 versions were passing tests even on PHP 5.5, so I think this is no longer an issue for Drupal 7. Therefore moving back to Drupal 8 as Fixed, so that credits are assigned correctly.

    If this is still an issue on D7 on one of the supported PHP versions (5.6+), feel free to create a new issue. However, Drupal 7 GitlabCI pipelines are green on all PHP versions, see: https://git.drupalcode.org/project/drupal/-/pipelines/148241, so in such case we would need a detailed steps to reproduce the issue. Thanks!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024