microsoft / microsoft/AzureTRE
When upgrading a template that has a new property the user should be prompted to enter it or the defaults used (if provided)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 235
- Forks
- 192
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 13
Description
Describe the bug
When adding a new property to a template and running an upgrade this throws an error because the property is null
Workaround
The workaround is to click update and enter the new value (after the upgrade has failed)
Steps to reproduce
- Add a new property to a template
- run an upgrade
- See that there is an error because the new property has no value
Solution
The user should be prompted to provide any new values (and optionally to remove any non existent ones #4730) when the upgrade is triggered.
Azure TRE release version (e.g. v0.14.0 or main):
main
Deployed Azure TRE components - click the (i) in the UI:
UI Version:
0.8.16
API Version:
0.25.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the template upgrade flow across the UI and API, reproducing the failure after adding a property without a value. Done means an upgrade prompts for each new property or applies its default, and no null-property error occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100