Thanks for the bug report. I have filed the following bug that we will investigate on monday:
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.
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
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
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.
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.
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/
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)
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