Actions
Bug #18866
closedProperty editor misbehavior on keys without labels
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release:
Release relationship:
Auto
Description
When there's a key definition like this one:
"automation": {
"labels": [],
"strict": true,
"values": {
"results": {
"labels": []
},
"upload": {
"labels": []
}
}
}
The property editor correctly list the "automation" key id on the key dropdown list. When selected, the value dropdown list doesn't list the "upload" & "results" ids and allows the user to input any text.
This doesn't happen if the key has some label in its definition:
"automation": {
"labels": [{"label":"Automation metadata"}],
"strict": true,
"values": {
"results": {
"labels": []
},
"upload": {
"labels": []
}
}
}
Updated by Lucas Di Pentima almost 3 years ago
- Status changed from New to In Progress
Updated by Lucas Di Pentima almost 3 years ago
Updates at arvados-workbench2|31965b61 - branch 18866-property-editor-bugfix
- developer-tests-workbench2: #613
- Fixes key/value lookup functions so that they also treat IDs as a valid search term, useful for cases where there's a key or value without labels.
- Adds test cases.
Updated by Peter Amstutz almost 3 years ago
- Target version changed from 2022-03-16 sprint to 2022-03-30 Sprint
Updated by Ward Vandewege almost 3 years ago
Lucas Di Pentima wrote:
Updates at arvados-workbench2|31965b61 - branch
18866-property-editor-bugfix
- developer-tests-workbench2: #613
- Fixes key/value lookup functions so that they also treat IDs as a valid search term, useful for cases where there's a key or value without labels.
- Adds test cases.
Thank you, I tested it, and it works. LGTM.
Updated by Lucas Di Pentima almost 3 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados-workbench2|2e2a7379407d3afd1f8d95ed29a059ff4fd3633e.
Actions