The module uses an entitymetadata wrapper to get the body value, without first checking if said value exists.
This gives an exception and a following "unexpected error" error screen.
Patch attached

Comments

dysrama’s picture

Issue summary: View changes
lslinnet’s picture

There was a minor logical error in the code, we should check that the body field isset and not empty, we might be able to just check if it is not empty.

I have attached the new patch.

lslinnet’s picture

Status: Active » Needs review

Setting this to needs review as it already have a patch applied to it.

kingandy’s picture

+1 for this patch (though technically "isset" is not necessary when followed by "empty" as "empty" will return true when the value is not set).