[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erw-devel] update.php bug

From: erw-devel
Subject: [Erw-devel] update.php bug
Date: Fri, 19 Sep 2003 18:50:14 +1000

Hi Seba,

On Saturday 13 September 2003 09:44, you wrote:
>I modified a lot of code, so if you see a strange behaviour just write
>here 8^).

Ok, there is some strange behaviour in update.php in ERW v0.9.9b1

On the form for the following entity type it is not possible to create new 
entities or modify existing entities when the relation Modified By doesn't 
have a selected usr. Clicking Ok or Apply displays a message box with: 

'The item selected in "Modified By" does no longer exist.'

This bug seems to happen with these absorbed 0:1 0:N relations & it doesn't 
matter if they are editable = true or false.  In a database with lots of 
these absorbed relations it makes this version of ERW quite unusable.

<ent id="validresponseset" label="Valid Response Set">
  <attr id="setcode" label="Set Code" size="6" mand="true" />
  <attr id="setdescription" label="Set Description" size="100" mand="true" />
  <attr id="modifydate" label="Modify Date" type="date" hidden="true" /> 

<rel id="validresponsesetmodify" label="Valid Response Set - Usr (Modified 
By)" absorbable="true">
  <leg entref="validresponseset" label="Modified By" lower="0" upper="1" 
  <leg entref="usr" label="Valid Response Sets Modified" lower="0" upper="N" 

Entity "usr" is based on auth.xml so there is no need to include it here.

Note, the same erl xml file and same database data works ok when toggling 
back to ERW version 0.9.8b2. 

I hope this is enough information for you to locate the problem, thanks,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]