Uploaded image for project: 'CMS CONTENIDO'
  1. CMS CONTENIDO
  2. CON-1955

Warning when fetching table with item collection

    Details

      Description

      Fetching several fields of a table with the item collection class (e.g. $coll->fetchTable($fields)) leads to an unneccessary warning if there are no results. This is due to a seek operation on the current recordset ($this->db->seek(0)). Although this could be prevented by counting the records in advance (if (0 < $coll->count()) $coll->fetchTable($fields)) this behaviour is quite annoying. I propose to perform this check in the fetchTable()-method itself.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                frederic.schneider Frederic Schneider
                Reporter:
                marcus.gnass marcus.gnass
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: