From 8b374ce47fa1a81e2d561fb2185ee0bb4223e856 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 20 Oct 2015 13:19:17 +0200 Subject: [PATCH] GDPDU: Reihenfolge der Tablellen in INDEX.XML Anscheinend kann der Import nur Foreign Keys bearbeiten, deren Tabellendefinition schon bekannt ist. --- SL/GDPDU.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/GDPDU.pm b/SL/GDPDU.pm index 23ba96158..0da621057 100644 --- a/SL/GDPDU.pm +++ b/SL/GDPDU.pm @@ -154,7 +154,7 @@ sub do_xml_file { }) ->tag('Media', sub { $self ->tag('Name', t8('DataSet #1', 1)); - for (@{ $self->tables }) { $self + for (reverse $self->sorted_tables) { $self # see CAVEATS for table order ->table($_) } }) -- 2.20.1