Hi,
I’ve just installed this very nice software and discovered a MySQL bug while importing data with an Open Office Database.
I couldn’t import data in llx_categorie_product table so I went to check it with phpMyadmin (in local).
In the llx_categorie_product table In phpMyadmin I get this error:
PRIMARY and INDEX keys should not both be set for column `fk_categorie`
The table has 2 indexes and 2 keys.
Here is the install data for the table:
create table llx_categorie_product
(
fk_categorie integer NOT NULL,
fk_product integer NOT NULL
)type=innodb;
and for the keys:
[code]
ALTER TABLE llx_categorie_product ADD PRIMARY KEY (fk_categorie, fk_product);
ALTER TABLE llx_categorie_product ADD INDEX idx_categorie_product_fk_categorie (fk_categorie);
ALTER TABLE llx_categorie_product ADD INDEX idx_categorie_product_fk_product (fk_product);
ALTER TABLE llx_categorie_product ADD CONSTRAINT fk_categorie_product_categorie_rowid FOREIGN KEY (fk_categorie) REFERENCES llx_categorie (rowid);
ALTER TABLE llx_categorie_product ADD CONSTRAINT fk_categorie_product_product_rowid FOREIGN KEY (fk_product) REFERENCES llx_product (rowid);[/code]
I use the last version of doliwamp
How should it be change?




