-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Maintenance]: Remove campaign export functionality #4047
Comments
+1 for both points |
I had a plan very early on to host "plugins" on our web site that would be downloaded on first use of a new version and cached. Those plugins would basically be pieces of code that could convert the "current" campaign file format into one for the "previous" format. Chaining these things together could allow any newer version to import/export any older version. But I never implemented that plan. Given how out of date the code is now, and how terrible the design is (loading the entire XML string into memory to make changes?!), I also agree with just removing it. |
Okay, the campaign export is really easy tear out ... Moving on to |
I’m not sure we should strip old token support, even very old. I’ve got a bunch of tokens (with properties) that I created for campaigns a long time ago and it would be really nice to not have to recreate all of them! (Hm, the framework they were used in may not even work now, though. Still…) |
To be clear, I am in no way suggesting we stop supporting these tokens. Actually I want the opposite, to better support them (we have a reputation to uphold 😉). My comment above is to state that these particular transformations are either unnecessary or can be achieved another way, all while still supporting old tokens/campaigns. Also I'm a wrong on the one. |
@kwvanderlinde don't suppose you removed all the i18n strings for this? |
Looks like I did not remove them. Will try have a look at that soonish. |
Describe the problem
The campaign export has an awkward existence in today's MapTool.
The improvement you'd like to see
The campaign export is removed in its entirety.
Expected Benefits
One less thing to have to think about and wade through.
Additional Context
I'm also noticing
ModelVersionManager
is in a similarly awkward position, though it's invisible to the user and only handles upgrades. Still, it only has logic for really old versions (1.3.51 - 1.3.78), is more invasive than the campaign export logic, and I believe the handful of XML transforms that it does can instead be handled viareadResolve()
.The text was updated successfully, but these errors were encountered: