Project

General

Profile

Bug #26082

form-upload component does not work

Added by Vaibhav Chauhan almost 4 years ago. Updated over 3 years ago.

Status:
Done
Priority:
Critical
Assignee:
Vaibhav Chauhan
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

I have informed Erin about lack of form-upload ability to upload the file.


Related issues

Related to FreeNAS - Feature #28475: implement vm suggestions during the demo meeting. Done2018-02-13

History

#1 Updated by Anonymous almost 4 years ago

  • Assignee changed from Anonymous to Vaibhav Chauhan
  • Priority changed from Blocks Until Resolved to Expected

This component never worked and isn't currently used by anything but it should be fixed up to make it work

#2 Updated by Vaibhav Chauhan almost 4 years ago

  • Status changed from Unscreened to Screened

working on this as part of this weeks demo meeting.

#3 Updated by Vaibhav Chauhan almost 4 years ago

  • Assignee changed from Vaibhav Chauhan to Xin Tan

passing this to you as you are most familiar with config-upload component and probably you can implement the same as a form-upload.

#4 Updated by Xin Tan almost 4 years ago

  • Priority changed from Expected to Nice to have

BRB.
I did a little research and our api doesn't support file yet,
I'd change this ticket to nice to have

#5 Updated by Dru Lavigne over 3 years ago

  • Target version changed from Master - FreeNAS Nightlies to 11.3

#6 Avatar?id=14398&size=24x24 Updated by Kris Moore over 3 years ago

  • Status changed from Screened to Not Started

#7 Updated by Vaibhav Chauhan over 3 years ago

I think backend file API is ready, I would like to work with you on this one as I need the file-upload components for uploading ISO's for the VM Wizard. I think we can use `filesystem.put` method with following payload

data: JSON.stringify({
method: 'filesystem.put',
params: ["/mnt/tank/foo.iso", {"mode": 493}]
})

and the file input element must be named `file`

I have some notes from william I can share them with you.

#8 Updated by Vaibhav Chauhan over 3 years ago

  • Priority changed from Nice to have to Critical
  • Target version changed from 11.3 to 11.2-U2

#9 Updated by Vaibhav Chauhan over 3 years ago

  • Related to Feature #28475: implement vm suggestions during the demo meeting. added

#10 Updated by Vaibhav Chauhan over 3 years ago

  • Status changed from Not Started to Done
  • Assignee changed from Xin Tan to Vaibhav Chauhan

myself and xin worked on this together the changes have been done and merged to the master branch.

#11 Updated by Dru Lavigne over 3 years ago

  • Status changed from Done to In Progress

VB: what is the PR for the commit?

#12 Updated by Vaibhav Chauhan over 3 years ago

  • Assignee changed from Vaibhav Chauhan to Dru Lavigne

#13 Updated by Dru Lavigne over 3 years ago

  • Status changed from In Progress to Done
  • Assignee changed from Dru Lavigne to Vaibhav Chauhan
  • Target version changed from 11.2-U2 to Master - FreeNAS Nightlies
  • Needs Merging changed from Yes to No

Also available in: Atom PDF