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

HEPData / hepdata / 1238
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 04 Nov 2020 01:23PM UTC
Jobs 1
Files 69
Run time 4s
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
1238

push

travis-ci-com

alisonrclarke
Fix issue where review messages could not be deleted

This is a workaround for the fact that the db does not define
"ON DELETE CASCADE" for the datareview_messages table.

When deleting a data review object directly, SQLAlchemy cascades the delete
and deletes the associated messages. However, when it's deleted as a result
of a data submission being deleted, SQLAlchemy's lazy loading means that
the data review objects aren't loaded so the associated deletions don't
happen. Instead we directly delete the data reviews in
`receive_before_flush` when a data submission is deleted, which causes
the associated messages to also be deleted.

7 of 7 new or added lines in 1 file covered. (100.0%)

2679 of 3252 relevant lines covered (82.38%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1238.1 04 Nov 2020 01:23PM UTC 0
82.38
Travis Job 1238.1
Source Files on build 1238
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1238
  • d0ba9dd4 on github
  • Next Build on fix-review-deletions (#1240)
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