KomMonitor / kommonitor-importer

GNU General Public License v3.0
0 stars 3 forks source link

allow validEndDate property value for each feature to have the value 'null' #19

Open cDanowski opened 4 years ago

cDanowski commented 4 years ago

I noticed that when declaring feature-wise property values for validStartDate and validEndDate import/update requests get rejected when validEndDate property value is null for one or more feature.

Actually the KomMonitor Data Management API allows validEndDate to be null on both, the global validEndDate as well as the feature-wise property.

I made a quick fix using a try catch block in commit 6b4984982c73d66b7d01d9e97ec3b36772449b3b

You may revise it and suggest/implement a better solution.

Regards, Christian