Posted on 04/03/2021 14:58:36
Original message by Nuno Aguiar posted on 04/03/2021 14:13:28:
Our current pain point is that throughout the live span of a project, and working more and more with integrated solution where we need to create field definitions dynamically, fields will have to be deleted. Our integration team can very "efficiently" do that and the database has no bad data or old data laying around. But then a number of things break and we're chaising our tails:
Hi Nuno,
I understand your pains. I really, really do... But. I would like to challenge the bolded text or at least the assumption that you "need to delete the bad data"! Here's what I did when I worked as a consultant, where I primarily did import of semi-big (by danish standard) datasets:
1. Setup a Test site to test the imports on, and keep this "bad data site" seperate from all other work (I really cannot stress how important and timesaving this part is if you have these kinds of problems!)
2. Rerun the imports on Staging/Production once things are ready for production (and pray a bit of course, because environments are never exactly the same ...)
3. Live with the "bad data" by hiding it from the users where possible
I think it's much worse to see breaking sites, then to see a field that we "just ignore". I never had any trouble explaining the customer why the few "bad data" fields where present, and the customers who really felt strongly about removing them, where happy to pay me to do so as a seperate followup project.
Maybe doing things in this kind of way can help alliviate your pains? I just don't see use in Dynamicweb doing a reliable data dependency validation check during deletion of fields (especially during data integration runs!). It would kill all performance, take us a year to complete which is probably too long to spend on this compared to the other work we could have been doing.
I hope you don't mind the pushback to your workflow. I actually think, on a personal level, that the described feature request would be really fun to do. :)
BR
Martin