Skip to content

Conversation

@jsma
Copy link
Contributor

@jsma jsma commented Dec 10, 2014

Refs #3637

When publishing a page, the draft plugins are copied to new 'live' versions of themselves. The code was incorrectly overwriting the position of the plugins. This change means the position remains identical to the position of the draft plugin, which is the only correct value.

This pull request is incomplete because it lacks a test case demonstrating that the issue exists as well as proving that this change fixes it. I've had challenges getting a test case to exercise the appropriate code paths since setting up the test data appears to require front-end editing and can't be triggered via the api as the current test_plugin_order does.

@coveralls
Copy link

coveralls commented Jan 26, 2015

Coverage Status

Coverage decreased (-0.1%) to 90.56% when pulling a67078e on jsma:plugin-order-fix into 0dbb961 on divio:develop.

jsma added 2 commits January 27, 2015 10:38
Refs #3637

When publishing a page, the draft plugins are copied to new 'live' versions of themselves. The code was incorrectly overwriting the position of the plugins. This change means the position remains identical to the position of the draft plugin, which is the only correct value.
@yakky yakky mentioned this pull request Feb 7, 2015
@yakky
Copy link
Member

yakky commented Feb 7, 2015

I reworked this a bit in #3825 to add the proposed test, instead of the replacing the existing one.
thanks @jsma !

@yakky yakky closed this in #3825 Feb 7, 2015
yakky added a commit that referenced this pull request Feb 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants