Details

    • Type: Bug Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.0 CE GA1, 6.1.10 EE GA1, 6.2.0 CE M2
    • Labels:
    • Environment:
      3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
      Ubuntu 12.04

      java version "1.6.0_26"
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Liferay Contributor's Agreement:
      Accept
    • Similar Issues:
      Show 5 results 

      Description

      The RSS summary shows the full data from the database column instead of extracting the summary for the user's locale. For example:

      <feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
      	<title>...</title>
      	<link rel="alternate" href=".../accueil/-/asset_publisher/sujet/rss"/>
      	<subtitle>...</subtitle>
      	<entry>
      		<title>Tourisme Saguenay-Lac-Saint-Jean</title>
      		<link rel="alternate" href=".../accueil/-/asset_publisher/sujet/content/id/16436"/>
      		<author>
      			<name>Administrateur</name>
      		</author>
      		<id>
      			.../accueil/-/asset_publisher/sujet/content/id/16436
      		</id>
      		<updated>2012-05-03T18:37:01Z</updated>
      		<published>2012-05-03T17:18:28Z</published>
      		<summary type="html">
      			<?xml version='1.0' encoding='UTF-8'?>
      			<root available-locales="fr_CA" default-locale="fr_CA">
      				<Description language-id="fr_CA">Le Saguenay-Lac-Saint-Jean est la troisième plus grande division territoriale québécoise avec une superficie de 95 893 km². Malgré son étendue, on retrouve principalement les 277 007 saguenéens et jeannois dans une immense dépression du bouclier canadien, le long de la rivière Saguenay et autour du Lac Saint-Jean. La forêt et surtout l'eau sont les principales ressources naturelles de la région. Habitée au départ par les Montagnais, la région, exploitée par les premiers Européens (français et anglais) pour commerce des fourrures au xviie siècle et xviiie siècle, fut ouverte à la colonisation au cours du xixe siècle. L'installation de scierie et l'exploitation du bois pour la pulpe, puis le papier permirent le développement économique de la région au début du xxe siècle. Au cours des années 1920, les principaux cours d'eau sont harnachés pour la production électrique qui mèneront à l'implantation d'alumineries. Celles-ci stimuleront la croissance démographique et économique de la région qui deviendra un pôle industriel important du Québec.</Description>
      			</root>
      		</summary>
      		<dc:creator>Administrateur</dc:creator>
      		<dc:date>2012-05-03T17:18:28Z</dc:date>
      	</entry>
      </feed>
      

        Activity

        Hide
        Michael Saechang added a comment - - edited

        Committed on:
        Portal 6.2.x GIT ID: b592f64f9ef3de989646662b4ae4ef0ace2805ee.

        Show
        Michael Saechang added a comment - - edited Committed on: Portal 6.2.x GIT ID: b592f64f9ef3de989646662b4ae4ef0ace2805ee.
        Hide
        Paul Piao (Inactive) added a comment - - edited

        PASSED Manual Testing using the following steps:

        1. Add Asset Publisher portlet.
        2. Check "Enable RSS Subscription" in configuration. Then save.
        3. Add a Web content.(Add summary is "china123")
        4. Edit web content.
        5. Select china in Add Translation.
        Title: 中国
        Content: 中国
        Summary: 中国123

        6. Save. Then publish.
        7. Download RSS.(Use mouse Left key)
        8. Check summary in rss file.

        9. Add language portlet.
        10. Change the language to china.
        11. Download RSS.(Use mouse Left key)
        12. Check summary in rss file.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.10 CE GA1.

        Rss feed summary not localized. I can see the "<summary type="html"><?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US,zh_CN," default-locale="en_US"><Description language-id="zh_CN">中国123</Description><Description language-id="en_US">china1</Description></root></summary>".

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 32e4bce7985f2975c4461fe4a503811e84af5857.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 86be5216cafce4a4e655207d9eb29e831a31d03a.

        RSS feed summary localized. I can see the "<summary type="html">china123</summary>" and <summary type="html">中国123</summary>

        Show
        Paul Piao (Inactive) added a comment - - edited PASSED Manual Testing using the following steps: 1. Add Asset Publisher portlet. 2. Check "Enable RSS Subscription" in configuration. Then save. 3. Add a Web content.(Add summary is "china123") 4. Edit web content. 5. Select china in Add Translation. Title: 中国 Content: 中国 Summary: 中国123 6. Save. Then publish. 7. Download RSS.(Use mouse Left key) 8. Check summary in rss file. 9. Add language portlet. 10. Change the language to china. 11. Download RSS.(Use mouse Left key) 12. Check summary in rss file. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.10 CE GA1. Rss feed summary not localized. I can see the "<summary type="html"><?xml version='1.0' encoding='UTF-8'?><root available-locales="en_US,zh_CN," default-locale="en_US"><Description language-id="zh_CN">中国123</Description><Description language-id="en_US">china1</Description></root></summary>". Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 32e4bce7985f2975c4461fe4a503811e84af5857. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 86be5216cafce4a4e655207d9eb29e831a31d03a. RSS feed summary localized. I can see the "<summary type="html">china123</summary>" and <summary type="html">中国123</summary>
        Hide
        Edward Gonzales added a comment -

        Slated for inclusion in 6.1.1 CE GA2

        Show
        Edward Gonzales added a comment - Slated for inclusion in 6.1.1 CE GA2

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 43 weeks, 5 days ago

              Development

                Structure Helper Panel