Project

General

Profile

Bug #65589

Train descriptions get overwritten when the UI needs them most

Added by Dennis Mullen almost 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Severity:
Low Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

When the UI (in update.component.ts) makes the call to get a list of trains (this.ws.call('update.get_trains')), we get a list back like the one below. Trouble is, on the current branch, the description gets overwritten with 'Installed OS'. But that description contains a tag we really need (ie, [release], [pre-release], etc.). Can middleware provide us with the tag for the current branch? It could be in a new field. It doesn't have to be in the description.

{"trains": {
...
"FreeNAS-11-STABLE": {"description": "Release Train for FreeNAS 11.1 [release]", "sequence": null},
"FreeNAS-11.2-STABLE": {"description": "Installed OS", "sequence": "63e5b1280ef0b8d882194a8a85d19665"}},
"current": "FreeNAS-11.2-STABLE",
"selected": "FreeNAS-11.2-STABLE"
}


Related issues

Related to FreeNAS - Bug #63360: Make use of new middleware reporting of train descriptions in new UIDone
Copied to FreeNAS - Bug #68493: Have middleware use description from trains.txtDone

Associated revisions

Revision 82a644d9 (diff)
Added by William Grzybowski almost 2 years ago

fix(middlewared/update): use description from trains.txt Ticket: #65589

Revision 1d3f4c0b (diff)
Added by William Grzybowski almost 2 years ago

fix(middlewared/update): use description from trains.txt Ticket: #65589

Revision 5d5e712d (diff)
Added by William Grzybowski almost 2 years ago

fix(middlewared/update): use description from trains.txt Ticket: #65589 (cherry picked from commit 82a644d9f59041e48fd9fc9c38cfd873cb8c80fc)

History

#1 Updated by William Grzybowski almost 2 years ago

  • Status changed from Unscreened to Screened
  • Assignee changed from Release Council to William Grzybowski
  • Target version changed from Backlog to 11.2-U3
  • Severity changed from New to Low Medium

#2 Updated by Dennis Mullen almost 2 years ago

  • Related to Bug #63360: Make use of new middleware reporting of train descriptions in new UI added

#3 Updated by Bug Clerk almost 2 years ago

  • Status changed from Screened to In Progress

#4 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Bug Clerk almost 2 years ago

  • Target version changed from 11.2-U3 to 11.3

#6 Updated by Bug Clerk almost 2 years ago

  • Copied to Bug #68493: Have middleware use description from trains.txt added

#7 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies
  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF