Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] "touching" a database causes [import] to stop working



******    message to minivend-users from Chris Wenham <cwenham@netmonger.net>     ******


 I've isolated a problem that's happening whenever I want to use the
 [import] tag to add a record to a database.

 If I use [perl tables="whatever"] or [data whatever column key] in
 the same page, then the [import] tag fails to work. As soon as I
 comment out the [data] tag (or remove the table from the perl tag),
 the [import] works again.

 What I'm doing in the page that performs the [import] is to check for
 duplicate records before inserting. This means doing a lookup on the
 proposed key to make sure there isn't already a record with the same
 key. The act of "touching" the database this way appears to make the
 [import] tag impotent.

 Is Interchange/minivend locking the table? 

Regards,

Chris Wenham

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: