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)

Open
#4,732 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

has workaround
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

  1. Add a new property to a template
  2. run an upgrade
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.