Image-picker property deletes all langversions

Member since: 2003

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



#65776 Feb 08, 2013 12:19
  • Member since: 2002

    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
    #65788 Feb 08, 2013 15:18
  • Member since: 1999


    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.


    #66223 Feb 25, 2013 10:13
  • Member since: 2003

    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

    #66228 Feb 25, 2013 11:55
  • Member since: 2003

    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

    #66231 Feb 25, 2013 13:10
  • Member since: 1999

    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.




    #66236 Feb 25, 2013 13:35
  • Member since: 2003

    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.

    #66242 Feb 25, 2013 15:27
  • Member since: 2003

    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:

    #66243 Feb 25, 2013 15:40
  • Member since: 1999

    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)

    #66246 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.
Please login to post a reply