Closed shorowit closed 6 years ago
@shorowit @macumber I found the problem. I introduced some bad code in b2f2f9dc0480e03760d99bac3a1b6af0ddd6b8b7, on Nov 8th. I have a fix ready.
Question: How much do we care about the floorplans created during that time? Here are some options, in increasing level of effort:
Not saying we need it for this case, but the editor should have some code to handle updating old JSON files to new ones. Really this only needs to handle JSON files created at tagged releases. I would suggest that we create and save a JSON file for each tagged release, then add a test showing we can import each of these. Does that sound reasonable? For this particular regression I am not really concerned since it didnt involve a release
@macumber totally agree. We actually have a floorplan from 2017-08-31, and we test importing that on every build.
The test that coulda/woulda/shoulda caught this is "Do an export, then try doing an import with that file". I'm working on writing that now.
Cool, what do you think about capturing exports from every release and testing those as well?
@macumber yep, that sounds good to me, but difficult to automate. I'll plan on adding them manually as we do releases.
@shorowit here's the repaired file: residential_sfd_template.json
Thanks!
I created this file less than a week ago but cannot re-open it. residential_sfd_template.json.txt
Here is the error that I get: