3

Closed

Editable Link validation problem for new part.

description

Steps to reproduce:
  1. I create a new part that has a property with the attribute EditableLink, and with the type being a subclass of ContentItem, for example Product.
  2. When filling in the properties for the part I link to a ContentItem that is not a Product, for example ContentPage.
  3. When I click "Save" I get an exception, see attached image. I expect to get the validation error message that I get if you follow the steps below.
     
  4. Do step 1 above.
  5. Fill in the properties correctly and link to a Product.
  6. Edit the created part and change the link to a ContentItem that is not a Product.
  7. Try to save.
  8. Get stopped by a nice validation message, see attached image.

file attachments

Closed May 16, 2012 at 7:46 AM by libardo
Fixed!

comments

dignat wrote Jun 12, 2012 at 9:28 AM

Thank you!