• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ic-labs / django-icekit / 516
74%

Build:
DEFAULT BRANCH: develop
Ran 28 Nov 2016 02:44AM UTC
Jobs 1
Files 233
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
516

push

travis-ci

jmurty
Avoid booby-trapping publishing_draft model relationship

The `publishing_draft` reverse relationship attribute for publishable
items should always return the raw draft copy, never a draft copy
wrapped in `DraftItemBoobyTrap`.

For some reason I don't understand the `publishing_draft` reverse
relationship attribute on polymorphic models could return a
booby-trapped draft copy instead of the raw copy in some cases.

With this change these the `publishing_draft` relationship is not longer
mistakenly wrapped in this case.

This issue first surfaced when it affected the `WorkBase` model from
glamkit-collections, but strangely we have not seen it before in other
polymorphic models like fluent pages where we had tests for the
correctness of draft traversal.

3440 of 4650 relevant lines covered (73.98%)

0.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 516.1 28 Nov 2016 02:44AM UTC 0
73.98
Travis Job 516.1
Source Files on build 516
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #516
  • 8e851180 on github
  • Prev Build on develop (#515)
  • Next Build on develop (#521)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc