Skip to content

POST requests were claiming request.method == 'PUT' - #441

Merged
dmitchell merged 2 commits into
masterfrom
dhm/course_update_bugs
Jul 19, 2013
Merged

POST requests were claiming request.method == 'PUT'#441
dmitchell merged 2 commits into
masterfrom
dhm/course_update_bugs

Conversation

@dmitchell

Copy link
Copy Markdown
Contributor

So, changed handlers to look for either value.

There were already unit tests which didn't fail tho; so, rewriting happened someplace outside of django unit test encapsulation of .post..

Fixing https://edx-wiki.atlassian.net/browse/STUD-441, https://edx-wiki.atlassian.net/browse/STUD-471

@cdodge @peter-fogg please review

@chrisndodge

Copy link
Copy Markdown
Contributor

Can you add a comment around the in ['POST', 'PUT'] check. I say this because someone didn't know that was required and removed that code, so having a comment might prevent that.

@chrisndodge

Copy link
Copy Markdown
Contributor

Also, add a unit test that recreates the error (when the fix isn't there) and then passed when the fix is there.

Don Mitchell added 2 commits July 19, 2013 11:12
@dmitchell

Copy link
Copy Markdown
Contributor Author

Added test forcing headers to the values I saw and added comments.

@peter-fogg

Copy link
Copy Markdown
Contributor

Looks good. 👍

@chrisndodge

Copy link
Copy Markdown
Contributor

+1

dmitchell added a commit that referenced this pull request Jul 19, 2013
POST requests were claiming request.method == 'PUT'
@dmitchell
dmitchell merged commit 4a127e5 into master Jul 19, 2013
@dmitchell
dmitchell deleted the dhm/course_update_bugs branch July 19, 2013 15:56
chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
…scroll

Add jQuery scrollTo to courseware.
e-kolpakov referenced this pull request in open-craft/openedx-platform May 15, 2015
diegomillan pushed a commit to eduNEXT/edx-platform that referenced this pull request Sep 14, 2016
Load elasticsearch config from JSON
xavierchan pushed a commit to xavierchan/edx-platform-1 that referenced this pull request May 30, 2019
jbcurtin pushed a commit to jbcurtin/edx-platform that referenced this pull request Jan 31, 2022
…to registration form (openedx#441)

* feat: add `optional-exposed` extra field type to registration form

This defines optional extra fields that are not hidden under the toggle on the
registration page.

(cherry picked from commit 230795f)
Signed-off-by: Gabor Boros <gabor.brs@gmail.com>

* Fix use a registration field order when using a registration extension form (openedx#26633)

(cherry-picked from commit 6f0255b)

Co-authored-by: Ivo Branco <igobranco@gmail.com>
Danyal-Faheem pushed a commit to Danyal-Faheem/edx-platform that referenced this pull request Jul 15, 2025
* feat: bypass course filtering rules set of lms in admin dashboard

* feat: add new column to all courses enrollment report

* feat: add users enrollment report in admin dashboard

* feat: rearrange admin reports

* feat: add grade report in student admin tab

* Relocate and simplify grade and certificates instructor reports

* allow course staff to access data download section

---------

Co-authored-by: Abdul-Muqadim-Arbisoft <139064778+Abdul-Muqadim-Arbisoft@users.noreply.github.com>
Co-authored-by: Abdul-Muqadim-Arbisoft <abdul.muqadim@arbisoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants