Skip to content

Conversation

@cahrens
Copy link

@cahrens cahrens commented Dec 30, 2013

These are tests to nail down the current behavior of export with & exists in an HTML component or a problem (XML) component.

See STUD-91

& is OK in an HTML component, and there is an import/export roundtrip test that uses the toy course. Therefore I added & to an existing HTML component in the toy course.

& is not OK in a problem (XML-based component). I added a test that export will fail with a way to click to the failing component. The Studio preview view of the component shows the error, so this failure should be clear to users.

@jzoldak Please review.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not be using a pattern of absorbing all the methods from component_settings_editor_helpers into world. Instead we should just import them. Can you please refactor this?

@cahrens
Copy link
Author

cahrens commented Jan 6, 2014

@jzoldak Can I get a thumb?

@jzoldak
Copy link
Contributor

jzoldak commented Jan 7, 2014

👍

cahrens pushed a commit that referenced this pull request Jan 7, 2014
Tests for behavior of export with & in HTML and XML-based components
@cahrens cahrens merged commit c711bb6 into master Jan 7, 2014
@cahrens cahrens deleted the christina/amp branch January 7, 2014 15:36
shimulch pushed a commit to open-craft/openedx-platform that referenced this pull request Jan 26, 2021
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