Deleting Records

A place for users and developers of the Xataface to discuss and receive support.

Deleting Records

Postby almatesic » Tue Dec 30, 2008 11:17 am

To give a background my i have my column username as the primary key and it being unique. So lets say i have the following usernames...

bigal
bigal.albino
bigal.albino.matesic
tallecreative
dell

Now i would like to only delete the record with the username "bigal", but what happens is it deletes all that contains bigal in the username. Basically the first 3 usernames would be deleted.

What i think is happening is the query to delete the record contains a LIKE in the statement instead of it containing EQUAL. I can't seem to locate the delete query. Also I might be wrong too. If so, please correct me.

Thanks in advance,
Al
Albino D. Matesic
almatesic
 
Posts: 6
Joined: Tue Dec 30, 2008 10:57 am
Location: Palisades Park, NJ

Postby shannah » Tue Dec 30, 2008 12:06 pm

Thanks for posting this. I have added this issue to the issue tracker and released a patch for the problem.

http://bugs.weblite.ca/view.php?id=454

I have also posted an announcement in the news section.

Long story short, you should replace your version of Dataface/DeleteForm.php with the one at
http://weblite.ca/svn/dataface/core/tru ... teForm.php

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 27 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved