Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1285

[PATCH] Serializers: bug in pop(...) of namespaces stack

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1
    • None
    • Blocks: (Undefined)
    • None
    • Operating System: other
      Platform: Other
    • 31546

    Description

      The 'pop(...)' method of Namespaces decreases the depth each time the for-loop
      checks its condition. Because of this the stack shrinks faster than it should.
      This patch moves the modification of the depth to after the for-loop.

      Attachments

        Activity

          People

            Unassigned Unassigned
            j.stuyts@hippo.nl Johan Stuyts
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: