Thank you for your reply. I used the var dump, and it turns out all the relevant variables are empty:
["id_supplier"]=> string(1) "0"
["product_supplier_reference"]=> string(0) ""
["supplier_reference"]=> string(0) ""
even though the supplier parameters are set correctly in the product page.
What can I do to fix this behavior? I already purged cache from BO and by delete the content of var/cache folders.