Hi Luciano,
No, Portal and ECC are two different systems. There should be no relationship between their SP levels.
You can try implementing SAP note 2166234 to update the ITS handler class (no need to set the GUI parameter, mentioned in the note).
Also upgrade the kernel, as mentioned earlier.
Regards,
Cris