At least for Alfresco the CMIS error response messages are HTML formatted. This makes them very hard to read when displayed with drupal_set_message.

This patch strips the HTML tags to make them more readable.

Comments

darrenphillips’s picture

Here's the patch.

cfuller12’s picture

Assigned: Unassigned » cfuller12

This is probably ok, but I'll test against other repos (at least Nuxeo) to see if there's any negative impact.

cfuller12’s picture

Version: 6.x-3.01 » 6.x-3.x-dev
Status: Needs review » Fixed

Applied the patch - Nuxeo messages get returned with html as well, so this improves both. Thanks!

cfuller12’s picture

Status: Fixed » Closed (fixed)

Fixed in 6.x-4.0 release.