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

OpenTreeMap / otm-core / 3075
84%

Build:
DEFAULT BRANCH: develop
Ran 10 Jul 2017 09:20PM UTC
Jobs 1
Files 216
Run time 9s
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
3075

Pull #3160

travis-ci

web-flow
Skip tree creation if tree UDF values are empty

We previously added code to protect against the iOS app always sending
values for all UDF fields. While this protective code does skip over
the values, it only runs after the presence of a `tree:` field in the
request triggers the instantiation of a `Tree`, which then gets saved.

In this commit I have added a check to skip field value processing
entirely and bypass the creation of a new `Tree` in the situation
where the `Tree` does not already exist and the field value is empty.
Pull Request #3160: Skip tree creation if tree UDF values are empty

17538 of 20950 relevant lines covered (83.71%)

0.84 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
treemap/management/commands/random_trees.py
7
100.0
treemap/tests/test_views.py
20
100.0
treemap/views/map_feature.py
Jobs
ID Job ID Ran Files Coverage
1 3075.1 10 Jul 2017 09:20PM UTC 0
83.71
Travis Job 3075.1
Source Files on build 3075
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3075
  • Pull Request #3160
  • PR Base - develop (#3066)
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