Problem/Motivation

See title, this seems to happen for errors that do not have a method as source but are e.g. parsed from the php error log file. Only happens if you use --xml I think.

Proposed resolution

Remaining tasks

User interface changes

API changes

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Berdir’s picture

Status: Active » Needs review
FileSize
801 bytes

Hard to test, but I'll try adding this as a patch to my d8modulestatus builds to see if it helps to get rid of the annoying notices in http://d8ms.worldempire.ch/build.log.

Berdir’s picture

Btw, we currently also create filenames like "Drupal\somemodule\Tests\SomeTest.xml", which a lot of operating systems and tools can't handle properly, but that's a separate issue.

Berdir’s picture

bzrudi71’s picture

Status: Needs review » Reviewed & tested by the community

Nice, no more notices with patch applied. Found nothing obvious during review so RTBC.

Berdir’s picture

@bzrudi71: Right, I saw those notices in your postgresql/sqlite logs as well, wanted to ping you about it :) Thanks.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed c42d69a and pushed to 8.0.x. Thanks!

  • alexpott committed c42d69a on 8.0.x
    Issue #2417727 by Berdir: Notice: Undefined offset: 1 in core/scripts/...

Status: Fixed » Closed (fixed)

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