Project

General

Profile

Bug #30402

TypeError: res.data is undefined in FTP

Added by Erin Clark over 2 years ago. Updated over 2 years ago.

Status:
Done
Priority:
Expected
Assignee:
Xin Tan
Category:
GUI (new)
Severity:
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

This line is tracing back on my system in the FTP service section (perhaps because I don't have any certificates?)

this.systemGeneralService.getCertificates().subscribe((res) => {
this.ftp_ssltls_certfile =
_.find(this.fieldConfig, {'name' : 'ftp_ssltls_certfile'});
res.data.forEach((item) => {
this.ftp_ssltls_certfile.options.push( {label : item.cert_common, value : item.id});
});
});

History

#1 Updated by Xin Tan over 2 years ago

  • Status changed from Not Started to In Progress
  • % Done changed from 0 to 100

FIX-30402

#3 Updated by Dru Lavigne over 2 years ago

  • Status changed from In Progress to Done
  • Target version changed from 11.2-BETA1 to Master - FreeNAS Nightlies
  • Needs Merging changed from Yes to No

Also available in: Atom PDF