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

locomotivemtl / charcoal-property / 441
61%

Build:
DEFAULT BRANCH: master
Ran 17 Nov 2020 10:39PM UTC
Jobs 4
Files 39
Run time 32s
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
441

push

travis-ci

mcaskill
Fix storing and parsing of l10n/allowNull values

Fixes a conflict on properties that are multilingual (`l10n`) and nullable (`allowNull`) where a localized field (for example `name_fr`) would convert an empty string to `null`.

Upon loading that data from source, the property would ignore the localized `null` field and return only the non-null field. A translatable property should be returned as a whole.

Changed:
- Method `StorablePropertyTrait::storageVal()` to stringify `Translation` objects earlier.
- Method `StorablePropertyTrait::storageVal()` to return empty string instead of `null` for multilingual/nullable property value (specifically, it's language field).
- Method `StorablePropertyTrait::parseFromFlatData()` to assign an empty string for null/missing localizations.

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

1542 of 2483 relevant lines covered (62.1%)

20.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 441.1 (GH_TOKEN=[secure] GH_REPO=github.com/locomotivemtl/charcoal-property.git) 17 Nov 2020 10:38PM UTC 0
62.54
Travis Job 441.1
2 441.2 (GH_TOKEN=[secure] GH_REPO=github.com/locomotivemtl/charcoal-property.git) 17 Nov 2020 10:39PM UTC 0
61.46
Travis Job 441.2
3 441.3 (GH_TOKEN=[secure] GH_REPO=github.com/locomotivemtl/charcoal-property.git) 17 Nov 2020 10:39PM UTC 0
61.46
Travis Job 441.3
4 441.4 (GH_TOKEN=[secure] GH_REPO=github.com/locomotivemtl/charcoal-property.git) 17 Nov 2020 10:39PM UTC 0
61.46
Travis Job 441.4
Source Files on build 441
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #441
  • ccee5db1 on github
  • Prev Build on master (#439)
  • Next Build on master (#442)
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

© 2025 Coveralls, Inc