[TECHNICAL-SUPPORT | Oct 23] LPS-41187 Structure default categorization values not restored on structure change

Hi Julio,

(I'm resending this, as the previous one got closed by Jenkins: https://github.com/juliocamarero/liferay-portal/pull/2485. This one finished with no errors at Máté: https://github.com/matethurzo/liferay-portal/pull/568)

Ákos @akosthurzo made the original fix before he went for holiday last week and he asked me to review his changes before forwarding.

His solution also worked fine, but during the review I was bothered by the fact that why "structureId" is missing from the request upon selecting a new structure. Finally, I think I've found a simpler way to fix. I hope, at least. :)

My last commit fixes a situation introduced by Roberto Diaz in liferay@fb2039a

Please, review our changes & let us know if you have any concerns.

Regards,
Tibor