Skip to content
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

age error priority issue #373

Open
polly64 opened this issue Oct 16, 2024 · 5 comments
Open

age error priority issue #373

polly64 opened this issue Oct 16, 2024 · 5 comments

Comments

@polly64
Copy link

polly64 commented Oct 16, 2024

Hi @mdsimpson42 all the construction dates are under completion dates can you address today thanks,

@mdsimpson42
Copy link

The building age fields are working as intended. I repurposed the existing data fields, so:

  • 'Year of construction of main building' has become 'Year of construction completed (best estimate)'
  • 'Earliest possible start year' is now the 'Year construction started (best estimate)'

The order and wording of the new fields are what we agreed to on our Zoom call on Tuesday.

If this is not the intended behaviour, I need to know what is wrong and how it should work in order to fix it.

@polly64
Copy link
Author

polly64 commented Oct 17, 2024

@mdsimpson42 .

  • 'the year of construction of main building' needs to be connected to 'Year construction started (best estimate)' as these both refer to the start dates
  • 'the year of construction completed' should be blank and should also read 'Year construction completed' ie omit 'of'

@mdsimpson42
Copy link

Are we 100% certain about this? This seemed like the most logical way to handle the existing data that we already have in the database.

If I swap the fields over, then the dates won't make sense with the data that we already have. i.e. in this example, the start date would be AFTER the end date:

image

The other option is to only keep the old 'Year of construction of main building' and rename it to 'Year construction started (best estimate)', then add a NEW field called 'Year construction completed', but then we're effectively throwing away the 'Earliest/latest possible start year'.

@mdsimpson42
Copy link

These changes will need to be made in the Core platform, tested, merged and then pulled from Core into Britain, and finally tested before they can be deployed. Doing this properly takes time and could cause errors, so I want to avoid doing it unnecessarily.

This also goes against best practice, as we're pushing untested features through without code review in order to get them deployed quickly. This can lead to errors. In future, we will need more notice of when changes like this will be required in the production version of Colouring Britain. Also, I will insist that changes like this get deployed to Staging first, so they can be tested before we merge them into the code and deploy them to Production. It will take longer, but it will reduce the number of issues like this that arise.

@polly64
Copy link
Author

polly64 commented Oct 17, 2024

@mdsimpson42 can you just reverse what was done and then just add 'completion' date as the we need to correct asap, thanks. Happy to test on staging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants