Fórumok

Translation of web contents and asset ordering

thumbnail
Cleydyr de Albuquerque, módosítva 11 év-val korábban

Translation of web contents and asset ordering

New Member Bejegyzések: 5 Csatlakozás dátuma: 2012.03.09. Legújabb bejegyzések
Hi, everyone.

I've got a question about the way we persist the translation of web contents (JournalArticle) and how it affects sorting in the Asset Publisher portlet. The titles of the web contents are stored as strings in xml format and all its translations are stored in the same column inside xml. The point is: when we set the Asset Publisher portlet to list entries ordered by title, the ordering is not obeyed if there is an article whose title has at least one alternative translation. That's because the entries are sorted when querying the database in the method , so the xml string (instead of the localized title) is being used to compare titles.

How could we get rid of this unwanted behavior?

Thanks.
thumbnail
Jorge Ferrer, módosítva 11 év-val korábban

RE: Translation of web contents and asset ordering

Liferay Legend Bejegyzések: 2871 Csatlakozás dátuma: 2006.08.31. Legújabb bejegyzések
Hi Cleydyr,

Yeah, that's a known bug. The ordering by title should have been removed in 6.1 when the ability to translate the title was added.

We may be able to add it back for 6.2 if the asset publisher backend is rewritten to use the indexer.
thumbnail
Cleydyr de Albuquerque, módosítva 11 év-val korábban

RE: Translation of web contents and asset ordering

New Member Bejegyzések: 5 Csatlakozás dátuma: 2012.03.09. Legújabb bejegyzések
[OFF[OFF]]
My question:

Translation of web contents and asset ordering
4 de Fevereiro de 2013 16:20

Your response:

RE: Translation of web contents and asset ordering
4 de Fevereiro de 2013 12:48

You replied so quickly that I really thought you've travelled back from the future. LoL
thumbnail
Hitoshi Ozawa, módosítva 11 év-val korábban

RE: Translation of web contents and asset ordering

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
Looking at the time of your initial and 2nd posts, it seems you probably went back and edited the initial post. Date/time is the last update time.

initial:
February 4, 2013 10:20 AM

second:
February 4, 2013 10:27 AM
thumbnail
Cleydyr de Albuquerque, módosítva 11 év-val korábban

RE: Translation of web contents and asset ordering

New Member Bejegyzések: 5 Csatlakozás dátuma: 2012.03.09. Legújabb bejegyzések
Anyway, it would be good if a workaround could be provided while the new version of Liferay Portal is not released.

Thanks.