Details

    • Liferay Contributor's Agreement:
      Accept
    • Similar Issues:
      Show 5 results 

      Description

      in DLFolderFinderImpl, the static Method
      QueryUtil.iterate(...)
      is called to generate an Iterator for the results of a SQL-Query.
      Normally this should work nevertheless which DB you are using, since there is ORM. But in DLFolderFinderImpl there is no class that should be mapped. So there is just a Object[] and that is not handled well in QueryUtil for databases that don't support the SQL "limit" function, like Derby DB.
      Therefor you need som extra treatment. Therefor I created two private methods that handle the Iterator-generation, if the DB does not support "limit".

      1. DLFolderFinderImpl.diff
        3 kB
        Tobias Kaefer
      2. DLFolderFinderImpl.diff
        3 kB
        Tobias Kaefer

        Issue Links

          Activity

          Hide
          Tobias Kaefer added a comment -

          BTW: This issue is in Liferay for some time (see http://issues.liferay.com/browse/LEP-6571). Not for DLFolderFinderImpl, but for DLFileEntryAndShortcutFinderImpl, which seems to be the ancestor of DLFolderFinderImpl.

          Show
          Tobias Kaefer added a comment - BTW: This issue is in Liferay for some time (see http://issues.liferay.com/browse/LEP-6571 ). Not for DLFolderFinderImpl, but for DLFileEntryAndShortcutFinderImpl, which seems to be the ancestor of DLFolderFinderImpl.
          Hide
          Tobias Kaefer added a comment -

          See attached file

          Show
          Tobias Kaefer added a comment - See attached file
          Hide
          Tobias Kaefer added a comment -

          Updated patch for LR 6

          Show
          Tobias Kaefer added a comment - Updated patch for LR 6
          Hide
          Tobias Kaefer added a comment -

          Please have a look at this issue too:
          http://issues.liferay.com/browse/LPS-12136

          It also crashes the Document Library.

          Show
          Tobias Kaefer added a comment - Please have a look at this issue too: http://issues.liferay.com/browse/LPS-12136 It also crashes the Document Library.

            People

            • Assignee:
              Igor Spasic
              Reporter:
              Tobias Kaefer
              Recent user:
              Randy Zhu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 28 weeks, 5 days ago

                Development

                  Structure Helper Panel