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

Opened 4 years ago

Last modified 4 years ago

Deserialize issue when using EPiImage with ElencySolutions.MultipleProperty

Reported by: yagnik_v_jadav@… Owned by: alexander@…
Priority: blocker Component: EPiImage
Keywords: Cc:

Description (last modified by yagnik_v_jadav@…) (diff)

We are using EPiImage with ElencySolutions.MultipleProperty (http://episerveresmp.codeplex.com/) for ImageCollection custom properties. All working fine, but when we edit any existing item from image collection property in edit mode, thumbnail in EPiImage not populating and showing "Add Image" thumb.

Solution:

In EPiImageProperty.cs in ParseToSelf(string value) function, assignment is wrong. this.Value should be type of EPiImagePropertyData but existing code casting it into string. I commented wrong line in below function and added correct value by applying Deserialize.

public override void ParseToSelf(string value)

{

this.Value = PropertyString.Parse(value).Value; --invalid, remove this line
this.Value = this.DeserializeValue(value); --valid fix

}

But still need to apply above fix in svn codebase.

Change History

comment:1 Changed 4 years ago by yagnik_v_jadav@…

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

comment:2 Changed 4 years ago by yagnik_v_jadav@…

  • Description modified (diff)

comment:3 Changed 4 years ago by yagnik_v_jadav@…

  • Description modified (diff)

comment:4 Changed 4 years ago by yagnik_v_jadav@…

  • Description modified (diff)

comment:5 Changed 4 years ago by yagnik_v_jadav@…

  • Description modified (diff)

comment:6 Changed 4 years ago by yagnik_v_jadav@…

  • Description modified (diff)
Note: See HelpUser/Tickets for help on using tickets.