cubicweb-preview #13276645 PreviewController.publish (still) may return a unicode instead of a str [resolved]

this occurs in pyramid apps in case there are validation errors in the form, in whic case the 'domid' argument is a unicode (in pyramid) and since it's used as is PreviewController.message to build a response, it produces a unicode response instead of a str

prioritynormal
typebug
done in1.2.2
load left0.000
closed by#78828b06a956 [controller] fix PreviewController.publish in case of validation error (closes #13276645)
patch[controller] fix PreviewController.publish in case of validation error (closes #13276645) [applied]