<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Frederik,<br>
<br>
Thanks for the response. I didn't know about this legacy issue - I'll
fix the code so that it ignores any member duplicates for now, since I
want to finish the next release today. I'll adjust the code according
to your suggestions for the release 2.2.<br>
<br>
Igor<br>
<br>
Frederik Ramm wrote:
<blockquote cite="mid:20080718172951.GB19105@lochewe.mathy.remote.org"
type="cite">
<pre wrap="">Hi,
</pre>
<blockquote type="cite">
<pre wrap="">This has probably been discussed several times before, but I've come up
with this problem in Kosmos now and need help. A user reported a bug in
Kosmos when reading a relation. Here's where the bug occurs:
</pre>
</blockquote>
<pre wrap=""><!---->
The current API implementation will not allow the uploading of a
relation that contains the same member more than once. However,
there are some legacy objects in the database where this occurs.
These can be downloaded but never uploaded again.
If possible, I would suggest building Kosmos so that it can cope
with the same object showing up twice. It is not impossible that
the API will one day allow this (again).
(I would also, if this is of any significance for you, deal with
relations as if they were ordered, i.e. assume that the sequence of
the objects in the relation carries some kind of meaning. It doesn't
today, but this would make you a but more "future proof"; you never
know what happens.)
Bye
Frederik
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://igorbrejc.net">http://igorbrejc.net</a></pre>
</body>
</html>