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

ic-labs / django-icekit / 581
74%

Build:
DEFAULT BRANCH: develop
Ran 12 Dec 2016 01:45AM UTC
Jobs 1
Files 238
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
581

push

travis-ci

jmurty
Fix bug preventing publishing of anything with link item content items

Remove the overly magical behaviour where link items like `PageLink`
and `ArticleLink` etc automatically delegated attribute calls to the
target linked item for all but two explicit attribute names.

This automatic delegation is fundamentally a bad idea, because it makes
attribute & method usage on one object do work on another object
altogether.

The specific reason for removing this now is because we were unable to
publish any content with link content items in ACMI because the
publishing system did work on the `publishing_linked` relationship of
the link content item, and ended up getting the published copy of the
target linked item instead.

Rather than working around the issue by adding `publishing_linked` as
another special-case magical attribute name that is handled sensibly,
and leaving this bomb to explode again later, I am removing the
behaviour altogether.

WARNING: This may break some page rendering or other situations where
the magical behaviour was used to do work on the linked target instead
of the actual link content item that is present.

3567 of 4851 relevant lines covered (73.53%)

0.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 581.1 12 Dec 2016 01:45AM UTC 0
73.53
Travis Job 581.1
Source Files on build 581
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #581
  • 2c6698c7 on github
  • Prev Build on develop (#580)
  • Next Build on develop (#583)
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