<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay 7.2: DefaultFriendlyURLMapper and public-render-parameter</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114578823" />
  <subtitle>Liferay 7.2: DefaultFriendlyURLMapper and public-render-parameter</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114578823</id>
  <updated>2026-04-03T23:23:54Z</updated>
  <dc:date>2026-04-03T23:23:54Z</dc:date>
  <entry>
    <title>RE: Liferay 7.2: DefaultFriendlyURLMapper and public-render-parameter</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114576696" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114576696</id>
    <updated>2019-08-02T16:10:51Z</updated>
    <published>2019-08-02T16:10:51Z</published>
    <summary type="html">I see -- hmm. Well, the next thing I would try then is comparing the DefaultFriendlyURLMapper from 6.1 portal source to the version from 7.1 or 7.2. Might be an oversight on Liferay&amp;#39;s part tha tyou can report to them, but temporarily fix with a custom mapper. If you do have a look and see something, can you let me know? (I&amp;#39;ve added checking myself to the list, but there are a lot of things ahead of it -- especially for a Friday! &lt;img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" &gt;)&lt;br /&gt;​​​​​​​</summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2019-08-02T16:10:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.2: DefaultFriendlyURLMapper and public-render-parameter</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114583481" />
    <author>
      <name>Lars Møller Sørensen</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114583481</id>
    <updated>2019-08-02T15:21:54Z</updated>
    <published>2019-08-02T15:21:54Z</published>
    <summary type="html">Yeah, in Liferay 6.1.1 the p_r_p-version of the parameter isn&amp;#39;t shown when using DefaultFriendlyURLMapper. &lt;br /&gt;&lt;br /&gt;For instance: https://www.cypax.dk/produkter/-/category/vis/BCDHEXSwitch&lt;br /&gt;&lt;br /&gt;Here &amp;#34;vis&amp;#34; and &amp;#34;BCDHEXSwitch&amp;#34; are public render paramters.</summary>
    <dc:creator>Lars Møller Sørensen</dc:creator>
    <dc:date>2019-08-02T15:21:54Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.2: DefaultFriendlyURLMapper and public-render-parameter</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114581786" />
    <author>
      <name>Andrew Jardine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114581786</id>
    <updated>2019-08-02T14:41:37Z</updated>
    <published>2019-08-02T14:41:37Z</published>
    <summary type="html">Hi Lars,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure if you can get rid of the p_r_p. I have used public render parameters in multiple solutions since the 7+ architecture has started. When I have them as regular (non public) render parameters, then the mappings work as expected. In all of my cases though, as soon as I promote them to be public, they start showing up in the url. I never dug into the source to validate why, but I also assumed that it was because they needed to live in the higher requests objects (the original request) so that they could be visible to all plugins on the layout. &lt;br /&gt;&lt;br /&gt;I can&amp;#39;t remember in 6.2 (or 6.1 for that matter) ... are you saying that in your 6.1 installation the p_r_p doesn&amp;#39;t show in the url? </summary>
    <dc:creator>Andrew Jardine</dc:creator>
    <dc:date>2019-08-02T14:41:37Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.2: DefaultFriendlyURLMapper and public-render-parameter</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114578822" />
    <author>
      <name>Lars Møller Sørensen</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114578822</id>
    <updated>2019-08-02T11:02:32Z</updated>
    <published>2019-08-02T11:02:32Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m still working on our 6.1.1 to 7.2.0 update.&lt;br /&gt;&lt;br /&gt;Now I&amp;#39;ve run in to a slight issue with DefaultFriendlyURLMapper and public-render-parameters. While trying to fix it I noticed that there&amp;#39;s the exact same issue on this site.&lt;br /&gt;&lt;br /&gt;Take a look at this URL: https://liferay.dev/blogs/-/categories/39286915?p_r_p_resetCur=true&amp;amp;p_r_p_categoryId=39286915&lt;br /&gt;&lt;br /&gt;Note that 39286915 is repeated becuase it&amp;#39;s a public render parameter. That didn&amp;#39;t happen in Liferay 6.1.1.&lt;br /&gt;&lt;br /&gt;As far as I can tell p_r_p_-version isn&amp;#39;t actually needed, the public render paramter seems to work without it.&lt;br /&gt;&lt;br /&gt;Is this a bug in 7.2.0, or needed for some technical reason?&lt;br /&gt;I guess I have to implement my own FriendlyURLMapper to get rid of it?</summary>
    <dc:creator>Lars Møller Sørensen</dc:creator>
    <dc:date>2019-08-02T11:02:32Z</dc:date>
  </entry>
</feed>
