samvera-deprecated / geo_concerns

PCDM based geospatial models for Hydra
Apache License 2.0
3 stars 4 forks source link

Handle nil initial_value in TimePeriod value class #250

Closed eliotjordan closed 7 years ago

eliotjordan commented 7 years ago

If the initial_value is nil when instantiating a new TimePeriod class, the append_caldate and append_begdate methods throw an exception. initial_value should default to an empty array if nil.

See https://github.com/pulibrary/opal/issues/19