Using callback parameter with REST API causes read-only accessor error in Bugzilla/API/Server.pm

RESOLVED FIXED in Bugzilla 6.0

Status

()

Bugzilla
WebService
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: dkl, Assigned: dkl)

Tracking

Bugzilla 6.0

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
Specifying callback= parameter no longer works with the latest versioned API code due to content_type being a ro parameter. It needs to be able to be changed if the code detects a callback= parameter has been used such as for JSONP.

dkl
(Assignee)

Comment 1

2 years ago
Created attachment 8747584 [details] [diff] [review]
1269252_1.patch
Attachment #8747584 - Flags: review?(dylan)
Comment on attachment 8747584 [details] [diff] [review]
1269252_1.patch

r=dylan
Attachment #8747584 - Flags: review?(dylan) → review+
(Assignee)

Comment 3

2 years ago
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
   acf611b..0b25c5c  master -> master
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED

Updated

2 years ago
Target Milestone: --- → Bugzilla 6.0
You need to log in before you can comment on or make changes to this bug.