TMGMTFileformatXLIFF->getImportedXML fails with a fatal error if the file doesn't contain a valid XML.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mfernea’s picture

Here is the patch.

mfernea’s picture

Status: Active » Needs review
Berdir’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Status: Needs review » Patch (to be ported)

Looks like it might still display some warnings/notices, but that's not as bad as a fatal error :)

Thanks, committed.

  • Berdir committed c4661fa on 7.x-1.x authored by mfernea
    Issue #2393393 by mfernea: getImportedXML fails with a fatal error if...
dragos-dumi’s picture

Status: Patch (to be ported) » Needs review
FileSize
1.72 KB

Attached the ported patch for 8.x-1.x branch

Berdir’s picture

Status: Needs review » Fixed

Thanks for the port, sorry for taking so long to get to this.

Status: Fixed » Closed (fixed)

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