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

sonata-project / SonataMediaBundle / 3809
51%

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

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)

2169 of 4214 relevant lines covered (51.47%)

37.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3809.1 31 Jul 2019 08:18AM UTC 0
51.43
Travis Job 3809.1
2 3809.2 31 Jul 2019 08:18AM UTC 0
51.4
Travis Job 3809.2
3 3809.3 31 Jul 2019 08:19AM UTC 0
51.21
Travis Job 3809.3
6 3809.6 (COMPOSER_FLAGS="--prefer-lowest") 31 Jul 2019 08:22AM UTC 0
48.97
Travis Job 3809.6
7 3809.7 (SYMFONY=3.4.*) 31 Jul 2019 08:22AM UTC 0
51.21
Travis Job 3809.7
8 3809.8 (DOCTRINE_ODM=1.*) 31 Jul 2019 08:22AM UTC 0
51.21
Travis Job 3809.8
9 3809.9 (SONATA_CORE=3.*) 31 Jul 2019 08:22AM UTC 0
51.21
Travis Job 3809.9
10 3809.10 (SONATA_ADMIN=3.*) 31 Jul 2019 08:22AM UTC 0
51.21
Travis Job 3809.10
13 3809.13 (DOCTRINE_ODM='dev-master as 1.x-dev') 31 Jul 2019 08:26AM UTC 0
51.21
Travis Job 3809.13
Source Files on build 3809
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3809
  • f25bc3f4 on github
  • Prev Build on 3.x (#3807)
  • Next Build on 3.x (#3810)
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