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

sonata-project / SonataMediaBundle / 3809 / 6
51%
3.x: 51%

Build:
DEFAULT BRANCH: 3.x
Ran 31 Jul 2019 08:22AM UTC
Files 137
Run time 3min
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

23 Jul 2019 09:38AM UTC coverage: 48.973%. Remained the same
COMPOSER_FLAGS="--prefer-lowest"

cron

travis-ci

core23
<a href="https://github.com/sonata-project/SonataMediaBundle/commit/<a class=hub.com/sonata-project/SonataMediaBundle/commit/f25bc3f465d89e1a0e75d6f9b277db64e0b4b014">f25bc3f46<a href="https://github.com/sonata-project/SonataMediaBundle/commit/f25bc3f465d89e1a0e75d6f9b277db64e0b4b014">&quot;&gt;Fixed deletion of images with id greater than 1000 (#1592)

* Fixed deletion of images with id greater than 1000

Inside the $this-&amp;gt;getReferenceImage() method, the id of the $media object is used, but at the time of the postRemove event, the $media object is detached from an EntityManager and its id is null. During the postRemove event, the $media-&amp;gt;getId() method returns null, and the $this-&amp;gt;getReferenceImage() method returns the wrong path and the file remains in the file system as garbage. My changes fix this.

* Add testPostRemove().

Test for &amp;quot;Fix deletion of images with id greater than 1000&amp;quot;.

* Update testPostRemove().

* The visibility of the property &amp;quot;clones&amp;quot; is changed to private.

* Adapted test &amp;quot;testPostRemove&amp;quot; to check the data in the private property &amp;quot;clones&amp;quot; instead of the protected.

* Update src/Provider/BaseProvider.php

Co-Authored-By: Javier Spagnoletti &amp;lt;phansys@gmail.com&amp;gt;

* Update src/Provider/BaseProvider.php

Co-Authored-By: Javier Spagnoletti &amp;lt;phansys@gmail.com&amp;gt;

* Update tests/Provider/BaseProviderTest.php

Co-Authored-By: Javier Spagnoletti &amp;lt;phansys@gmail.com&amp;gt;

* Adding a separate version of the testPostRemove(), which can be run in the current branch 3, and in the proposed me.

* Revert &amp;quot;Adding a separate version of the testPostRemove(), which can be run in the current branch 3, and in the proposed me.&quot;

This reverts commit </a><a class="double-link" href="https://github.com/sonata-project/SonataMediaBundle/commit/<a class="double-link" href="https://github.com/sonata-project/SonataMediaBundle/commit/bab31c8e3b3d662651634a4d90ccdd456adddde1">bab31c8e3</a>">bab31c8e3</a><a href="https://github.com/sonata-project/SonataMediaBundle/commit/f25bc3f465d89e1a0e75d6f9b277db64e0b4b014">.

* Adding a separate version of the testPostRemove(), which can be run in the current branch 3, and in the proposed me.

* Remove un... (continued)

2099 of 4286 relevant lines covered (48.97%)

4.13 hits per line

Source Files on job 3809.6 (COMPOSER_FLAGS="--prefer-lowest")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3613
  • Travis Job 3809.6
  • f25bc3f4 on github
  • Prev Job for COMPOSER_FLAGS="--prefer-lowest" on 3.x (#3807.6)
  • Next Job for COMPOSER_FLAGS="--prefer-lowest" on 3.x (#3810.6)
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