I'm using the macro picker package (http://our.umbraco.org/projects/backoffice-extensions/macropicker) and I have a media picker as a parameter. Now in the content section, when I can add a media item fine, save and publish works fine too. But when I go to delete the item then save and publish the item, the media item still persists and does not delete.
That's weird, I assume by deleting the item you mean the delete linkbutton on the media link property and not the media item from the media library itself? Is it the same for content items?
Just made a fix (actually a hack). It was related to the inner workings of the MacroRendering controls for media. I also made a fix for the yesNo option. If you care to test mail me richard [at] soetemansoftware.nl. When it's okay in your environment I'll update the Codeplex project. Note that this datatype is only for 4.0.x in 4.5 it's replaced by the Macro Container.
Delete not working in Macropicker
Hi,
I'm using the macro picker package (http://our.umbraco.org/projects/backoffice-extensions/macropicker) and I have a media picker as a parameter. Now in the content section, when I can add a media item fine, save and publish works fine too. But when I go to delete the item then save and publish the item, the media item still persists and does not delete.
Anybody got any ideas?
I'm using v4.0.4.2
Thanks,
Bij
Hi Bijesh,
That's weird, I assume by deleting the item you mean the delete linkbutton on the media link property and not the media item from the media library itself? Is it the same for content items?
Cheers,
Richard
Thanks for replying Richard.
Yes, it's the Delete button on the property, not the media item. Deleting a content item in the same picker works fine.
I'll have to debug then... Is it a normal Media picker?
I've created a codeplex issue for this a while ago: http://macropicker.codeplex.com/workitem/4794
Jeroen
Thanks Jeroen
Just voted this up.
Any chance of a fix for this? Or if you can point me the right direction, I can try and fix this in the source code, if possible
Bij
Hi Bijesh and Jeroen,
Just made a fix (actually a hack). It was related to the inner workings of the MacroRendering controls for media. I also made a fix for the yesNo option. If you care to test mail me richard [at] soetemansoftware.nl. When it's okay in your environment I'll update the Codeplex project. Note that this datatype is only for 4.0.x in 4.5 it's replaced by the Macro Container.
Cheers,
Richard
Hi Richard,
I can confirm that your hack/fix works for the media picker :) I haven't tried the yes/no option though.
Thanks!
Bij
is working on a reply...