[TECHNICAL REQUEST] LPS-51101 Storing localized preferences with un-localized key for default language causes issues

Hi @juliocamarero,
cc @giros,

I have sent this pr to you: https://github.com/juliocamarero/liferay-portal/pull/3109
You closed it as it caused some tests fail.

I rebased the commit for today's master.
I can not do automatic testing with CI, but I run the tests with these two commands:

ant test-class -Dtest.class=PortalImplAlternateURLTest
ant test-class -Dtest.class=PortalImplCanonicalURLTest

There were no errors. I will send you the output of tests in email.

What do you think, how can we move forward?

Thank you in advance
Péter