Fix issue with update train list

Description

William added support for train redirection. I tested with an internal build using internal update server.

First I created /data/update.conf with this

{
"freenas-11.3-internal": {
"redirect": "FreeNAS-11-Nightlies"
}
}

After running the middlware call below I can confirm FreeNAS-11-Nighlies is the selected train.

midclt call update.get_trains|jq .

{
"trains": {
"FreeNAS-11-Nightlies": {
"description": "Nightly builds for FreeNAS 11. Very unstable, even ISO installs are not guaranteed to work. [nightly]",
"sequence": null
},
"FreeNAS-11-Nightlies-SDK": {
"description": "Nightly SDK builds for FreeNAS 11. Very unstable, even ISO installs are not guaranteed to work. [nightly]",
"sequence": null
},
"FreeNAS-11-STABLE": {
"description": "Release Train for FreeNAS 11.1 [release]",
"sequence": null
},
"FreeNAS-11.2-STABLE": {
"description": "Release Train for FreeNAS 11.2 [release]",
"sequence": null
}
},
"current": "freenas-11.3-internal",
"selected": "FreeNAS-11-Nightlies"
}

However the UI does now show any train selected as presented in the screenshot

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Erin Clark October 9, 2019 at 9:48 PM

This PR fixes issues where the trains we needed wouldn't populate https://github.com/freenas/webui/pull/2876

Erin Clark October 8, 2019 at 10:14 PM

This PR properly fixes issues with train selection not working https://github.com/freenas/webui/pull/2870

Erin Clark October 7, 2019 at 9:21 PM

Complete
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created October 7, 2019 at 8:33 PM
Updated July 1, 2022 at 4:44 PM
Resolved November 6, 2019 at 6:00 PM