silverstripe / silverstripe-framework

Silverstripe Framework, the MVC framework that powers Silverstripe CMS
https://www.silverstripe.org
BSD 3-Clause "New" or "Revised" License
720 stars 820 forks source link

Deprecated getIterator function called in SSViewer_Scope #11277

Open sig-shadae opened 2 weeks ago

sig-shadae commented 2 weeks ago

Module version(s) affected

5.2

Description

The getIterator function is being called in /src/View/SSViewer_Scope.php though the function is now deprecated in v5.2 as per https://api.silverstripe.org/5/SilverStripe/View/ViewableData.html#method_getIterator. bug

How to reproduce

N/A

Possible Solution

No response

Additional Context

No response

Validations

GuySartorelli commented 1 week ago

What code is used in your template that results in this happening? Is this happening in to a core template, or a custom one?

In other words: Please fill in the "How to reproduce" section.