From c796c16115dc3d7d52976395dfcfedc7e8bd1bec Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 6 Dec 2012 13:06:16 -0800 Subject: Add two test dives that triggered the bug fixed in the previous commit Loading these two XML files created a divelist with two trips that each started at the same time but that were NOT linked together (because the code in insert_trip detected that they started at the same time). Since the trips were not linked together, trying to then merge those two trips from the UI got us into an infinite loop, trying to move a dive from one trip into the same trip (as the code couldn't find the trip that wasn't linked into the dive_trip_list). Signed-off-by: Dirk Hohndel --- dives/test25.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 dives/test25.xml (limited to 'dives/test25.xml') diff --git a/dives/test25.xml b/dives/test25.xml new file mode 100644 index 000000000..a53925830 --- /dev/null +++ b/dives/test25.xml @@ -0,0 +1,23 @@ + + + + + + + + + Dive location + New trip format + includes a divecomputer section + + + + + + + + + + + + + -- cgit v1.2.3-70-g09d2