| Summary: | Components list should dynamically update when changing the product on the "show_bug.cgi" page | ||
|---|---|---|---|
| Product: | [Community] Bugzilla | Reporter: | Jason McDonald <jmcdonal> |
| Component: | Creating/Changing Bugs | Assignee: | Matt Tyson 🤬 <mtyson> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Simon Green <sgreen> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.4 | CC: | ebaak, jmcdonal, rjoost |
| Target Milestone: | 4.4 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.4.2014 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-03 01:00:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jason McDonald
2013-12-04 03:31:23 UTC
Okay. I need help with this, because I'm missing something very obvious, and I've spent two days trying to fix it without success. Taking the upstream patch, I apply it to our trunk. The AJAX call in js/fields-ajax.js is returning a 403 error with 8 bytes "No data." according to Firebug. If I change it to a GET call, it works fine. The code in the 'My Requests' page (js/component.js, which is almost identical) works without problem. If I take the upstream code and apply it to upstream 4.4 code, it works without a problem. So I'm assuming there is something in our customisation that is causing it. I've tried replacing every bit of code that I thought could be causing the problem, but can't find it. I think this needs a fresh pair of eyes on it. -- simon The problem was caused by the Content-Type not being set correctly in the HTTP header and the Json object not including the JSON-RPC protocol version string. With these issues fixed it works properly. This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug. |