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

ic-labs / django-icekit / 1152
74%

Build:
DEFAULT BRANCH: develop
Ran 08 Dec 2017 04:41AM UTC
Jobs 1
Files 423
Run time 14s
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
1152

push

travis-ci

jmurty
Fix potential bug when publishing Fluent content items

Ensure that the logical ordering of a draft page's
content items is maintained when cloning these
items' relationships to a published copy.

Fix a long-standing but false assumption that the
content items cloned from a draft copy to a
published copy will be returned in the same
order by the `contentitem_set` relationship
queryset on the two copies.

This assumption mostly held true, but could fail
in cases where changes to `Placeholder` objects
associated with a page – especially if a one was
added – happened to cause the placeholder PK
ordering to differ between the draft and published
copy.

When this happened, on publish the code could try
to copy the contents of an M2M field from one type
to a different type that may not have that same
field, causing an `AttributeError`.

Or worse, if the content item types happened to
match despite their ordering being logically
different, the relationships of items in the draft
copy could be mistakenly assigned to different
items in the published copy.

See https://github.com/sfmoma/sfmoma/issues/314

1234 of 2421 branches covered (50.97%)

7437 of 10090 relevant lines covered (73.71%)

0.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1152.1 08 Dec 2017 04:41AM UTC 0
73.71
Travis Job 1152.1
Source Files on build 1152
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #1152
  • fc5c1ee3 on github
  • Prev Build on develop (#1145)
  • Next Build on develop (#1155)
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

© 2025 Coveralls, Inc