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

sonata-project / SonataDoctrineORMAdminBundle / 1108 / 1
75%
3.x: 75%

Build:
DEFAULT BRANCH: 3.x
Ran 09 Jun 2016 12:55PM UTC
Files 30
Run time 2s
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

09 Jun 2016 12:53PM UTC coverage: 23.009% (-0.2%) from 23.186%
1108.1

push

travis-ci

Soullivaneuh
Ensure DoctrineType is available before using it (#586)

PR #547 brought other identifier types support.

This uses Type::getType method with ClassMetada::getTypeOfField returned value.

ClassMetada::getTypeOfField can return null and then Type::getType throw an exception.

This can be reproduced with an entity having a relation as an identifier.

Plus, the given type field may be not mapper under Type map.

Checking ClassMetada::getTypeOfField return value and use Type::hasType before solve the issue.

312 of 1356 relevant lines covered (23.01%)

0.88 hits per line

Source Files on job 1108.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1108
  • Travis Job 1108.1
  • d4a2d78d on github
  • Prev Job for on 3.x (#1102.6)
  • Next Job for on 3.x (#1112.1)
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