Bug: export

Hi ksar,

I have a question regarding export module, I don’t know if it’s a bug or? When I go to “Export” and select “Stocks and location (warehouse) of products” and define fields to export. At the “save a profile” I try to save it and it says it is saved but it doesn’t show anywhere. When I return to step 2 there is no “Predefined Profile” to select. I’ll attach some pictures. Can you help me with this one. Thank you in advance!

Hello,

Better to post a public topic instead of private messages.

What is your dolibarr version ?

1 Like

Hello,

It’s 13.0.2., but I think it’s some kind of a bug in my Dolibarr Version.

Hello,

Personally I tried what you have done and I get another issue :
When I tried to save the export profile, I get : Data too long for column ‘type’ at row 1

2021-04-21 09:17:35 DEBUG sql=INSERT INTO llx_export_model (label,type,field,fk_user,filter) VALUES ('test', 'stock_emplacement_product', 'e.rowid', 12, '')
2021-04-21 09:17:35 ERR DoliDBMysqli::query SQL Error message: DB_ERROR_1406 Data too long for column 'type' at row 1
2021-04-21 09:17:35 DEBUG ROLLBACK Transaction

For me, the field type is a varchar(20) :
image

It seems that in V14, this field is now a varchar(64) :

When I changed to 64, it is working, and the profile is well displayed :

Try to do the same because on your screenshot your “type” seems to be truncated :
You have “stock_emplacement_pr” instead of “stock_emplacement_product”
image