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

The URL for the 'Read More' link in the AP is different than usual if the article title starts with 'id'

    Details

      Description

      Description
      The URL for the 'Read More' link in the AP is different that usual if the article title starts with 'id'

      Steps to Reproduce

      1. In clean 6.2 bundle, place the asset publish on the home page
      2. Create two new web contents with titles "test" and "idtest"
      3. In the Asset Publisher, click the "Read More" link for both articles so that they open in two new tabs, to easily compare the two URLs

      Expected Result: The URL will be the same format for both articles
      Actual Result: The URL for the article title that starts with 'id' uses the article ID not the title.

      Branch 62x - 0e9df973a79db1dc8ff943be7de5ec903430eca5: Can't test in branch due to errors when building the portal:

          [javac] ----------
          [javac] 542. ERROR in D:\Desktop\REpository\62x\portal-service\src\com\liferay\portal\kernel\util\ProxyUtil.ja
          [javac]     _classReferences.get(classLoaderReference);
          [javac]     ^^^^^^^^^^^^^^^^
          [javac] ConcurrentMap cannot be resolved to a type
          [javac] ----------
          [javac] 543. ERROR in D:\Desktop\REpository\62x\portal-service\src\com\liferay\portal\kernel\util\ProxyUtil.ja
          [javac]     private static ConcurrentMap
          [javac]                    ^^^^^^^^^^^^^
          [javac] ConcurrentMap cannot be resolved to a type
          [javac] ----------
          [javac] 544. ERROR in D:\Desktop\REpository\62x\portal-service\src\com\liferay\portal\kernel\util\ProxyUtil.ja
          [javac]     ConcurrentMap<LookupKey, Reference<Class<?>>>> _classReferences =
          [javac]     ^^^^^^^^^^^^^
          [javac] ConcurrentMap cannot be resolved to a type
          [javac] ----------
          [javac] 545. ERROR in D:\Desktop\REpository\62x\portal-service\src\com\liferay\portal\kernel\util\ProxyUtil.ja
          [javac]     ConcurrentMap<LookupKey, Reference<Class<?>>>>();
          [javac]     ^^^^^^^^^^^^^
          [javac] ConcurrentMap cannot be resolved to a type
          [javac] ----------
          [javac] 546. ERROR in D:\Desktop\REpository\62x\portal-service\src\com\liferay\portal\kernel\util\ProxyUtil.ja
          [javac]     private static ConcurrentMap
          [javac]                    ^^^^^^^^^^^^^
          [javac] ConcurrentMap cannot be resolved to a type
          [javac] ----------
          [javac] 546 problems (546 errors)
      
      BUILD FAILED
      D:\Desktop\REpository\62x\build.xml:8: The following error occurred while executing this line:
      D:\Desktop\REpository\62x\build.xml:734: The following error occurred while executing this line:
      D:\Desktop\REpository\62x\build.xml:150: The following error occurred while executing this line:
      D:\Desktop\REpository\62x\portal-service\build.xml:32: Compile failed; see the compiler error output for details.
      
      Total time: 54 seconds
      
      liferay@LIFERAY-990W98V /d/Desktop/REpository/62x (ee-6.2.x) 


      Master - 03610a7dd6ddd81f07881c50ac8915a36cdf55dc: Reproduced

        Attachments

        1. 62943-6.2.x-fixed-1.png
          62943-6.2.x-fixed-1.png
          7 kB
        2. 62943-6.2.x-fixed-2.png
          62943-6.2.x-fixed-2.png
          6 kB
        3. 62943-6.2.x-reproduced-1.png
          62943-6.2.x-reproduced-1.png
          6 kB
        4. 62943-6.2.x-reproduced-2.png
          62943-6.2.x-reproduced-2.png
          7 kB
        5. 62943-master-fixed-1.png
          62943-master-fixed-1.png
          34 kB
        6. 62943-master-fixed-1.png
          62943-master-fixed-1.png
          7 kB
        7. 62943-master-fixed-2.png
          62943-master-fixed-2.png
          31 kB
        8. 62943-master-fixed-2.png
          62943-master-fixed-2.png
          7 kB
        9. 62943-master-reproduced-1.png
          62943-master-reproduced-1.png
          6 kB
        10. 62943-master-reproduced-2.png
          62943-master-reproduced-2.png
          7 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 31 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 Beta 8
                  7.0.0 CE RC1