Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16637

eZContentObjectTreeNode::assignSectionToSubTree creates empty "WHERE IN" query

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.4.0beta1
    • 4.2.0, 4.3.0
    • Database related
    • None

    Description

      When using eZContentObjectTreeNode::assignSectionToSubTree with a node that has a number of children multiple of 99, it will generate a query such as:

      UPDATE ezcontentobject SET section_id='1' WHERE  id IN (  )

      I've made a patch to solve this problem. It is attached to this ticket with its regression test.

      Attachments

        Activity

          People

            patrick.allaert patrick.allaert
            p16 p16
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: