Revision 6002
Added by Aaron Marcuse-Kubitza about 12 years ago
test.xml.ref | ||
---|---|---|
11 | 11 |
<project_id><project><projectname>$Site Name</projectname></project></project_id> |
12 | 12 |
<parent_id> |
13 | 13 |
<locationevent> |
14 |
<location_id><location><authorlocationcode>$1ha Plot Number</authorlocationcode></location></location_id> |
|
14 |
<location_id> |
|
15 |
<location> |
|
16 |
<authorlocationcode> |
|
17 |
<_if name="if subplot"> |
|
18 |
<cond>$Subplot Number</cond> |
|
19 |
<then>$1ha Plot Number</then> |
|
20 |
</_if> |
|
21 |
</authorlocationcode> |
|
22 |
</location> |
|
23 |
</location_id> |
|
15 | 24 |
<obsenddate><_date><date><_dateRangeEnd><value>$Observation Date</value></_dateRangeEnd></date></_date></obsenddate> |
16 | 25 |
<obsstartdate><_date><date><_dateRangeStart><value>$Observation Date</value></_dateRangeStart></date></_date></obsstartdate> |
17 | 26 |
</locationevent> |
Also available in: Unified diff
mappings/VegCore-VegBIEN.csv: subplot locationevent: Only populate parent locationevent's location unique IDs if a subplot #/subplotID is actually specified. (The lack of a location unique ID will cause the parent locationevent's location to be removed, as well as the parent locationevent itself if there is no parent locationevent unique ID.) This fixes a bug where top-level plots in datasources that provide a nullable subplot #/subplotID were incorrectly getting connected to parent locationevents.