Image-picker property deletes all langversions

Vote:
 

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

[UIHint(UIHint.Image)]
        [CultureSpecific]
        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:

SELECT *
  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
Vote:
 

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
Vote:
 

Hi,

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
Vote:
 

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

https://docs.google.com/file/d/0B1GzO91ZdUbzcGY2WGZFTEVaY0k/edit?usp=sharing

https://docs.google.com/file/d/0B1GzO91ZdUbzNS13LXlqZ3BKOHM/edit?usp=sharing

#66228
Feb 25, 2013 11:55
Vote:
 

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
Vote:
 

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
Vote:
 

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.

https://vimeo.com/60450717

#66242
Feb 25, 2013 15:27
Vote:
 

I also reproduced the issue on your demosite: http://alloy.demo.episerver.com. I did this on on the contact-page (teser-image) for "Robert Carlsson" and as you can see, the image is gone here: http://alloy.demo.episerver.com/About-us/Management/

#66243
Feb 25, 2013 15:40
Vote:
 

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.
* 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.