Re: Re: SQL Datasource Changes
Tobias Greitzke <[email protected]>
| Newsgroups | gmane.comp.cms.zms.devel |
|---|---|
| Organization | tog.is information design |
| Message-ID | <[email protected]> |
Hello,
1) if I open the SQL-Datasource I get:
Es gibt keine Objekte in SQL-Datenquelle!
2) if I delete the XML config I get:
Error Type: TypeError
Error Value: iteration over non-sequence
3) The Tab "Konfiguration" shows me the tables and columns as usual, I
can toggle the tables open, in some cases I can open them, but mostly I
get this error:
Error Type: KeyError
Error Value: 'index'
Here is one of the XML configs.
<list>
<item>
<dictionary>
<item key="id">anfrage</item>
<item key="label">anfrage</item>
<item key="columns">
<list>
<item>
<dictionary>
<item key="id">id</item>
<item key="label">ID</item>
<item key="auto" type="int">1</item>
<item key="pk" type="int">1</item>
</dictionary>
</item>
<item>
<dictionary>
<item key="id">date</item>
<item key="auto" type="int">1</item>
</dictionary>
</item>
<item>
<dictionary>
<item key="id">name</item>
<item key="label">Name (max. 50)</item>
</dictionary>
</item>
<item>
<dictionary>
<item key="id">email</item>
<item key="label">Email (max. 50)</item>
</dictionary>
</item>
<item>
<dictionary>
<item key="id">category</item>
<item key="label">Kategorie</item>
</dictionary>
</item>
<item>
<dictionary>
<item key="id">text</item>
<item key="label">Text</item>
<item key="type">text</item>
</dictionary>
</item>
</list>
</item>
</dictionary>
</item>
<item>
<dictionary>
<item key="id">kategorie</item>
<item key="label">kategorie</item>
<item key="columns">
<list>
<item>
<dictionary>
<item key="id">id</item>
<item key="label">ID</item>
<item key="auto" type="int">1</item>
<item key="pk" type="int">1</item>
</dictionary>
</item>
<item>
<dictionary>
<item key="id">activ</item>
<item key="label">aktiv</item>
<item key="checkbox">0</item>
</dictionary>
</item>
</list>
</item>
</dictionary>
</item>
</list>
Best regards
Tobias Greitzke