comparison libervia/pages/tickets/new/page_meta.py @ 1194:bed008b65d7c

pages (merge-requests/edit, tickets/edit, tickets/new): use serialised extra following backend change + fixed use of "update" when editing ticket: "update" was not set in extra, as a result some metadata could be lost on update (author, comments_uri). fix 301
author Goffi <goffi@goffi.org>
date Fri, 14 Jun 2019 12:50:59 +0200
parents 29eb15062416
children b2d067339de3
comparison
equal deleted inserted replaced
1193:aee3d8fa679f 1194:bed008b65d7c
72 posted_data[u'body'] = [u'<div xmlns="{ns}">{body}</div>'.format(ns=C.NS_XHTML, 72 posted_data[u'body'] = [u'<div xmlns="{ns}">{body}</div>'.format(ns=C.NS_XHTML,
73 body=body)] 73 body=body)]
74 74
75 75
76 yield self.host.bridgeCall( 76 yield self.host.bridgeCall(
77 "ticketSet", service.full(), node, posted_data, u"", u"", {}, profile 77 "ticketSet", service.full(), node, posted_data, u"", u"", u"", profile
78 ) 78 )
79 # we don't want to redirect to creation page on success, but to tickets list 79 # we don't want to redirect to creation page on success, but to tickets list
80 data["post_redirect_page"] = ( 80 data["post_redirect_page"] = (
81 self.getPageByName(u"tickets"), 81 self.getPageByName(u"tickets"),
82 service.full(), 82 service.full(),