Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-81623

Creating a site with a Japanese title results in a "Not Found" error, but the page gets created

    Details

    • Fix Priority:
      3

      Description

      Summary
      When we try to create a site with Japanese title example: あ, we will be redirected to an error page indicating "Not Found". However, when we go back to the Sites view, a Site titled あ is available.

      Steps to Reproduce

      1. Start up 7.1 Beta 2
      2. Sign in as test@liferay.com
      3. Go to Control Panel > Site > Site
      4. Click the icon, then click Blank Site
      5. Create a Blank Site with the title あ

      Actual Result
      A Not Found error appears upon clicking Submit:

      Not Found
      The requested resource could not be found. 
      
      http://3b44eac2.ngrok.io/group/--1-2-3-4-5-6/~/control_panel/manage/-/site/settings?_com_liferay_site_admin_web_portlet_SiteSettingsPortlet_historyKey=&p_p_auth=Gs6BDsET&_com_liferay_site_admin_web_portlet_SiteSettingsPortlet_redirect=http://3b44eac2.ngrok.io/en/group/--1-2-3-4-5-6/~/control_panel/manage/-/site/settings?_com_liferay_site_admin_web_portlet_SiteSettingsPortlet_historyKey=&p_p_auth=Gs6BDsET

      However, upon further inspection, a Site titled あ is available.

      Expected Result
      The site is created without any errors.

      Important Finding
      It seems that the Site Friendly URL is strange in this case. In the example I have described in the Actual Result, this was after we tried to create multiple sites with Japanese URLs. Prior to our last try, the friendly URL was /group/--1-2-3-4-5. Then, when we created the next one, it was /group/--1-2-3-4-5-6.

      If this is an issue with the Friendly URL, this seems inconsistent with the Page Friendly URL which can accept Japanese page Titles, and add Japanese URLs. For example, if I create a page with the title あ, I can add the page, and the page URL will be

      http://localhost:8080/web/guest/あ

      in the browser URL field

      – or when I copy and paste it, the encoded form which is http://localhost:8080/web/guest/%E3%81%82

      It seems that having Japanese URLs should be the correct behavior.

        Attachments

          Activity

            People

            Assignee:
            kyle.miho Kyle Miho
            Reporter:
            brian.suh Brian Suh
            Participants of an Issue:
            Recent user:
            Kyle Miho
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 32 weeks, 4 days ago

                Packages

                Version Package