# HG changeset patch # User Goffi # Date 1565968542 -7200 # Node ID afb40966cd0a0765906f29e2584736d00b27c2aa # Parent 0f0c36992f3c40782a6a1a075e67daad83da37e3 pages (forums/view): fixed microblog data serialisation when posting diff -r 0f0c36992f3c -r afb40966cd0a libervia/pages/forums/view/page_meta.py --- a/libervia/pages/forums/view/page_meta.py Fri Aug 16 17:14:46 2019 +0200 +++ b/libervia/pages/forums/view/page_meta.py Fri Aug 16 17:15:42 2019 +0200 @@ -5,6 +5,7 @@ from twisted.internet import defer from sat.core.i18n import _ from sat.core.log import getLogger +from sat.tools.common import data_format log = getLogger(__name__) @@ -41,7 +42,8 @@ self.pageError(request, C.HTTP_BAD_REQUEST) mb_data = {"content": body} try: - yield self.host.bridgeCall("mbSend", service, node, mb_data, profile) + yield self.host.bridgeCall( + "mbSend", service, node, data_format.serialise(mb_data), profile) except Exception as e: if "forbidden" in str(e): self.pageError(request, 401)