Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Image-picker property deletes all langversions


This is a really scary bug. I'm using a image-picker propertylike this:

        public virtual Url MyImage { get; set; }

My site is using multilanguage and this one is CultureSpecific

When editing in EPiServer, everything works fine as long as you just use the ...-button to edit the imageurl. BUT if I instead select the url directly in the textfield (by Cut/Paste for example), all propertydata for all languages disappears from database. When publishing the page, the property is gone for all other languages.

I'm inspecting whats happens by making this query in the database:

  FROM [tblContentProperty]
  where fkcontentid = [PAGEID THAT I'M EDITING]
  and fkPropertydefinitionid = [PROPERTYDEFINITIONID]

I can see a row for every language I got on my site, but once I make a Ctrl-X in the inputfield on imagepicker, all rows disapears! Notice that I didn't even publish anything.

If i then select my image, it's only published on the current language, all other languages are gone



Feb 08, 2013 12:19

Thanks for the bug report. I have filed the following bug that we will investigate on monday:

Bug #95686: Manually typing an URL to an image on an image property might delete data for the content
Feb 08, 2013 15:18


I am unable to reproduce this problem, do you have any more detailed step by step on how I can reproduce ?

What I tested was:

- Install Alloy
- Add above property definition to ArticlePage
- Enable English + Swedish
- Create a new page of type Article
- Select a file on both languages (without publishing any of them)
- Now do a CTRL-X to empty the property on one of the languages

I checked the database and when I removed the value from one of the languages in was not removed from the other language.


Feb 25, 2013 10:13

I just tested on clean Alloy-site and still gets the error. I've tracked the requests that was done in Firebug, maybe these could help

Feb 25, 2013 11:55

Can this issue ber browser related? I just tested the same thing in IE9, and I cannot even select the text. So the issue is only reproduced in Chrome and Firefox

Feb 25, 2013 13:10

Can you write down a 1,2,3 on how to you reproduce this on the clean Alloy-site ? I am problably missing some steps here, I tested with Chrome as well.




Feb 25, 2013 13:35

I created a movie that demonstrates exactly the steps I make. I installed a new instance of Alloy just to make sure it's really clean. This is not a multilanguage-site, I realized that the issue appears on a singlelang-site too.

Feb 25, 2013 15:27

I also reproduced the issue on your demosite: I did this on on the contact-page (teser-image) for "Robert Carlsson" and as you can see, the image is gone here:

Feb 25, 2013 15:40

Awesome - thanks, turns out it was already fixed on the build I was testing on. It will be part of Patch 2 for EPiServer 7.

#92672 Empty property value also removes published value (on master language)

Feb 25, 2013 16:44
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.