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

Hi Julio,

(I'm resending this, as the previous two ones :) got closed by Jenkins: #2485 & #2488. This one finished with no errors at Máté: matethurzo#574)

Á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