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

locomotivemtl / charcoal-property / 441 / 1
61%
master: 61%

Build:
DEFAULT BRANCH: master
Ran 17 Nov 2020 10:39PM UTC
Files 39
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

17 Nov 2020 08:33PM UTC coverage: 62.536% (+0.04%) from 62.496%
GH_TOKEN=[secure] GH_REPO=github.com/locomotivemtl/charcoal-property.git

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.

1948 of 3115 relevant lines covered (62.54%)

4.57 hits per line

Source Files on job 441.1 (GH_TOKEN=[secure] GH_REPO=github.com/locomotivemtl/charcoal-property.git)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 382
  • Travis Job 441.1
  • ccee5db1 on github
  • Prev Job for GH_TOKEN=[secure] GH_REPO=github.com/locomotivemtl/charcoal-property.git on master (#439.1)
  • Next Job for GH_TOKEN=[secure] GH_REPO=github.com/locomotivemtl/charcoal-property.git on master (#442.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

© 2025 Coveralls, Inc