OrchardCMS / Orchard

Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
https://orchardproject.net
BSD 3-Clause "New" or "Revised" License
2.38k stars 1.12k forks source link

Update to 1.7 - Media picker error #4179

Open orchardbot opened 10 years ago

orchardbot commented 10 years ago

tommck created: https://orchard.codeplex.com/workitem/20350

Everything you need to know is in here:

https://orchard.codeplex.com/discussions/452320#editor

orchardbot commented 10 years ago

tommck commented:

Repro steps:

I can get more explicit when I have a chance, but it's pretty easy to repro

orchardbot commented 9 years ago

owleabf commented:

As added detail to this bug:

Since the admin summary view of medialibrarypicker uses the same code you'll get the same error in the admin viewing the Content tab since any existing items with a medialibrarypicker field will error out.

Functionally this is meaning that I'm having to:

1) query the db to find what contenttypes have mediapickers on them (since admin errors out) 2) edit that contenttype 3) drop the field 4) re-add it with a new name (old data persists under the previous name) 5) reattach every image in my site 6) Refactor code in any alternates that uses the Media Picker Field.

Pretty big impediment to upgrading...