Problem changing a portal to multiline

I changed a portal from single to multilne and something very strange happened: the lookups in the fields don’t work anymore (I’m using a method that creates a new related record and assigns the item id to the new record, then the description and unitprice fields are filled via lookup).
This procedure works perfectly when the portal is set to single line, but if I change it to multiline, I only get a new line in the portal with the itemid field showing the right value, but no description and price

piani_to_rigpiani.newRecord();
piani_to_rigpiani.prestid = piani_to_tariffariodummy.prestid
// I've added those two steps because the lookups don't work anymore
piani_to_rigpiani.descrizione = piani_to_tariffariodummy.descrizione
piani_to_rigpiani.prezuni = piani_to_tariffariodummy.tariffa1

OSX.2.8, Servoy 1.2

We will lookinto the problem