Details

    • Branch Version/s:
      6.2.x
    • Backported to Branch:
      Committed
    • Story Points:
      9
    • Fix Priority:
      5
    • Similar Issues:
      Show 5 results 

      Description

      All the order by dates in the portal are not working properly due to the mechanism we are using to order longs in the search framework.

      This is affecting not only asset publisher, but also the "add content" UI, the asset browser and other areas based on search.

        Issue Links

          Activity

          Hide
          Marina Batet added a comment -

          Yes, I reindexed but the problem remains.

          When you change some already created article display date (it works fine with a new article) to an older date, the asset entry publish date don't updates properly (as I can see if I go to the database to view the journal article and asset entry records involved). Asset entry publish date it's set as the date you updated the article, and (if I'm not mistaken) it should be the display date (or null, as it is when you first enter an article with a future display date). If I change that value directly in the database, and then, I reindex, then, it works properly. But that's not really a solution.

          Show
          Marina Batet added a comment - Yes, I reindexed but the problem remains. When you change some already created article display date (it works fine with a new article) to an older date, the asset entry publish date don't updates properly (as I can see if I go to the database to view the journal article and asset entry records involved). Asset entry publish date it's set as the date you updated the article, and (if I'm not mistaken) it should be the display date (or null, as it is when you first enter an article with a future display date). If I change that value directly in the database, and then, I reindex, then, it works properly. But that's not really a solution.
          Hide
          Marina Batet added a comment -

          Maybe the problem is more related to this bug: https://issues.liferay.com/browse/LPS-43039, as I can see that the asset it's ordering properly if we consider the publish date field of the asset entry. The real problem is that this publish date field it's not correctly setted with the journal article display date.

          Show
          Marina Batet added a comment - Maybe the problem is more related to this bug: https://issues.liferay.com/browse/LPS-43039 , as I can see that the asset it's ordering properly if we consider the publish date field of the asset entry. The real problem is that this publish date field it's not correctly setted with the journal article display date.
          Hide
          Daniel Sanz added a comment -

          If problem is related to a field which doesn't get saved into DB, then it should be reported and solved in another LPS, not this. It's very important to associate a single bug with each LPS otherwise traceability and backportability are negatively impacted.

          This is about sorting by dates in general. Although description states this correctly, I'm going to update the ticket title to make it clear there too.

          Thanks

          Show
          Daniel Sanz added a comment - If problem is related to a field which doesn't get saved into DB, then it should be reported and solved in another LPS, not this. It's very important to associate a single bug with each LPS otherwise traceability and backportability are negatively impacted. This is about sorting by dates in general. Although description states this correctly, I'm going to update the ticket title to make it clear there too. Thanks
          Hide
          Felix Zhang added a comment -

          After discussed with Eudaldo, think the problem will be solved in LPS-43039. So I close it.

          Show
          Felix Zhang added a comment - After discussed with Eudaldo, think the problem will be solved in LPS-43039 . So I close it.
          Hide
          Felix Zhang added a comment -

          On 6.2.x, blocked by LPS-43039.

          Show
          Felix Zhang added a comment - On 6.2.x, blocked by LPS-43039 .

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                37 weeks, 6 days ago

                Development

                  Structure Helper Panel