Description
When using the REST API, the Bug.weburl does not contain the URL to the bug in the web UI.
REST API (wrong)
>>> from bugzilla import Bugzilla
>>> bz = Bugzilla("https://bugzilla.suse.com",
user="*****",
api_key="*****",
force_rest=True)
>>> bz._backend
<bugzilla._backendrest._BackendREST at 0x7f39fadf8e80>
>>> b = bz.getbug(1212222)
>>> b.weburl
'https://bugzilla.suse.com/rest/'
XML RPC (correct)
>>> from bugzilla import Bugzilla
>>> bz = Bugzilla("https://bugzilla.suse.com",
user="*****",
api_key="*****")
>>> bz._backend
<bugzilla._backendxmlrpc._BackendXMLRPC at 0x7f39fae9f970>
>>> b = bz.getbug(1212222)
>>> b.weburl
'https://bugzilla.suse.com/show_bug.cgi?id=1212222'
Description
When using the REST API, the
Bug.weburldoes not contain the URL to the bug in the web UI.REST API (wrong)
XML RPC (correct)