Skip to content

Correctly persist checklist settings. - #465

Merged
peter-fogg merged 1 commit into
masterfrom
peter-fogg/fix-stud-485
Jul 22, 2013
Merged

Correctly persist checklist settings.#465
peter-fogg merged 1 commit into
masterfrom
peter-fogg/fix-stud-485

Conversation

@peter-fogg

Copy link
Copy Markdown
Contributor

Incidentally, fixes an acceptance test (which would have caught this
bug) not running. Its step regex was "They are correctly selected
after I reload the page$", which happens to be matched by "I reload
the page$", another step definition. Lettuce seems to arbitrarily pick
between definitions if they both match a step, so it's good to ensure
that each step isn't a sub-regex of another.

Incidentally, fixes an acceptance test (which would have caught this
bug) not running. Its step regex was "They are correctly selected
after I reload the page$", which happens to be matched by "I reload
the page$", another step definition. Lettuce seems to arbitrarily pick
between definitions if they both match a step, so it's good to ensure
that each step isn't a sub-regexes of another.
@cahrens

cahrens commented Jul 22, 2013

Copy link
Copy Markdown

👍 To get this into today's release candidate. However, I think this whole thing about saving before updating metadata is very confusing. @dmitchell said that there is a backlog task to remove this 2 (or 3?) step process, and I am 100% in favor of that.

Also flagging @cpennington so that he is aware of the fallout.

@cahrens

cahrens commented Jul 22, 2013

Copy link
Copy Markdown

Also, the point about Lettuce matching regexp statements is a good one. I will generally avoid regexp definitions from now on, as they seem risky.

@dmitchell

Copy link
Copy Markdown
Contributor

A more robust short-term solution would be to have own_metadata(foo) call
foo.save() before iterating over its _model_data, but that' should alo be a
separate task.

On Mon, Jul 22, 2013 at 3:25 PM, Christina Roberts <notifications@github.com

wrote:

Also, the point about Lettuce matching regexp statements is a good one. I
will generally avoid regexp definitions from now on, as they seem risky.


Reply to this email directly or view it on GitHubhttps://github.com/edx/edx-platform/pull/465#issuecomment-21369062
.

peter-fogg pushed a commit that referenced this pull request Jul 22, 2013
Correctly persist checklist settings.
@peter-fogg
peter-fogg merged commit 305bc23 into master Jul 22, 2013
@peter-fogg
peter-fogg deleted the peter-fogg/fix-stud-485 branch July 22, 2013 20:09
chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
moving all requirements that use a repo to repo-requirements.txt includi...
e-kolpakov referenced this pull request in open-craft/openedx-platform Aug 4, 2015
diegomillan pushed a commit to eduNEXT/edx-platform that referenced this pull request Sep 14, 2016
…-microsite-test

Fix broken test from "ACCOUNT_NAME" removal
xavierchan added a commit to xavierchan/edx-platform-1 that referenced this pull request Jun 5, 2019
refactor(eliteu-payments): eliteu-payments plugin installation
yoann-mroz pushed a commit to weuplearning/edx-platform that referenced this pull request Nov 30, 2020
Co-Authored-By: Omar Al-Ithawi <i@omardo.com>
andrey-canon pushed a commit to eduNEXT/edx-platform that referenced this pull request Jan 19, 2021
Removed edx links and changed deletion text
Sujeet1379 pushed a commit to chandrudev/edx-platform that referenced this pull request Nov 17, 2022
This component blocks access to graded units when
the user is required to sign the integrity agreement for
the course. Once signed, it will not appear for the course
again.
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