Problem/Motivation

For some reason we normalize the data before proxying the call to encode on our base encoder in \Drupal\serialization\Encoder\XmlEncoder.

Proposed resolution

Remove this call, don't extend the SerializerAwareEncoder anymore.

Remaining tasks

User interface changes

API changes

Comments

damiankloip’s picture

Status: Active » Needs review
damiankloip’s picture

Title: Remove unnecessary call to normalize dat ain XmlEncoder::encode » Remove unnecessary call to serializer > normalize in XmlEncoder::encode

Status: Needs review » Needs work

The last submitted patch, d8-xmlencoder.patch, failed testing.

damiankloip’s picture

Status: Needs work » Needs review
StatusFileSize
new2.35 KB
new825 bytes

Mehh

Status: Needs review » Needs work

The last submitted patch, 4: 2349879-4.patch, failed testing.

damiankloip queued 4: 2349879-4.patch for re-testing.

damiankloip’s picture

Status: Needs work » Needs review
dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Nice catch!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 428ff5b and pushed to 8.0.x. Thanks!

  • alexpott committed 428ff5b on 8.0.x
    Issue #2349879 by damiankloip: Fixed Remove unnecessary call to...

Status: Fixed » Closed (fixed)

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