I have an Exception 'Attempt to use array in query clause' when I try to delete a selected related record.
The (related) table is :
- Code: Select all
CREATE TABLE rtable (
id_test int(11) NOT NULL,
the_date date NOT NULL,
field3 varchar(20) DEFAULT NULL,
PRIMARY KEY (id_test,the_date)
)
id_test is my foreign key pointing to the field 'id' from the table 'test' :
- Code: Select all
[myrelation]
rtable.id_test = "$id"
I think that the date is presented as an array when building the where clause.
This exception is thrown only when I try to delete the related record from the related list, using check box and action "with selected -> remove".
Everything goes fine if I delete the related record from its view tab.
I use Xataface 1.3.2
Best Regards