kutting / msexcel-builder

A simple and fast library to create MS Office Excel(>2007) xlsx files.
MIT License
0 stars 0 forks source link

Fix Featured Type Codeset Image Name change #32

Open kutting opened 9 years ago

kutting commented 9 years ago

Changing the Featured Type Image name changes Event.FeaturedTypeCodeset.MozuPatchImageName, but needs instead to add a new row to Util.DatedContent. In fact, we need to figure out what date range the new image is supposed to apply to... Maybe by default we replace the image name in the current Util.DatedCOntent row???

Maybe we need a separate UI for CRUD on Dated Content directly. Maybe the thing to do is create a standard Popup to CRUD DatedContent, which would be used from both Event Type and Featured Event Type, and any other places that come along.

Unlike Event.FeaturedTypeCodeset, Event Manager doesn't provide a UI for Event.EventType's MozuPatchImageName. But it needs to be changed to provide whatever solution we come up with for Featured Types.

kutting commented 9 years ago

Stored Procs that grep for MozuPatchImageName: Event.FeaturedTypeGet Event.FeaturedTypeInsert Event.FeaturedTypeUpdate Map.EventTypeGetForMap, Map.FeaturedTypeGetAll Mozu.PublishEventGet Mozu.SpecialEventGet

For Mozu, we always pull from Event's PatchImageName (except SpecialEventGet for custom events; then derive standard patch name)

The Map. sprocs are obsolete and I am getting rid of them.

Event.FeaturedTypeUpdate, FeaturedTypeInsert and FeaturedTypeGet are CRUDing the MozuPatchImageName... this is brain dead.

kutting commented 9 years ago

DONE 1: Delete Map.EventTypeGetForMap and FeaturedTypeGetAll and all references to them.