Loading...

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 #282 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Bug when using EPiImageGalleryProperty in PageTypeBuilder 2.0 PropertyGroup

Reported by: johan.redborg@… Owned by: alexander@…
Priority: major Component: EPiImage
Keywords: Cc:

Description

It seems that PageTypeBuilder 2.0 PropertyGroups creates objects with names on form '[PropertyGroupName]-[PropertyName]'. And when rendering the EPiImageGalleryPropertyControl, a JavaScript variable with the same name is supposed to be created. But since the name contains a dash '-' the JavaScript code becomes broken at 'EPiImageGalleryPropertyControl.cs' Row 60.

I updated the source code on my local computer at Row 21 to:

string Name = "EPiImageGallery_" + this.ID.Replace('-','_');

and then everthing seems to work.
Maybe you want to update the source code with this change after testing it a bit more.

Regards
Johan
Cloud Nine

Change History

comment:1 Changed 6 years ago by alexander@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in EPiImage 2.9.1 [2383]

Note: See HelpUser/Tickets for help on using tickets.