All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #245 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

Stack overflow in EPiImageGalleryImageCollection

Reported by: anders.vestberg@… Owned by: alexander@…
Priority: critical Component: EPiImage
Keywords: EPiImageGalleryImageCollection stack overflow Cc:


The getter of the this[int index] property in the EPiImageGalleryImageCollection class generates a stack overflow exception if I try to access an individual EPiImageGalleryImage object by index.

I believe you have an infinite recursion here.

I have to do some special filtering on the images retrieved (by GetIamges), thus it is vital to be able to loop through the collection and access objects by index. The workaround for me right now is to first copy all EPiImageGalleryImage objects to my own List<EPiImageGalleryImage> by using a foreach-loop.

Change History

comment:1 Changed 7 years ago by alexander@…

  • Status changed from new to assigned

Fixed in latest version of the source code: [2018]. Will be part of the next release.

Last edited 7 years ago by alexander@… (previous) (diff)

comment:2 Changed 7 years ago by simon@…

(PS! Remember that you can also link back to the changeset from the ticket - that makes it easier to review the actual changes made, in this case changeset:2018 I presume? Alternatively written as [2018].)

comment:3 Changed 7 years ago by alexander@…

Thanks for the tip Simon!

comment:4 Changed 6 years ago by alexander@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See HelpUser/Tickets for help on using tickets.