UI: Textbox contents need to be cleared while toggling between "File" and "Direct Input"

Bug #1493513 reported by Santosh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Low
sajuptpm

Bug Description

While Deploying VNF with parametization, "Parameter Value Source" can be inputted by uploading a yaml file and also by "Direct input". When Contents are added directly under "Direct Input" option and user toggles back to "File" option , previous contents of "Direct Input" should be cleared. Otherwise it creates confusion for user when uploading parameter values with "File" option.

Revision history for this message
Santosh (ksantosh-cs) wrote :
  • screenshot.docx Edit (137.1 KiB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
Revision history for this message
Luka Krajger (luka-krajger) wrote :

I noticed similar bug with "Onboard VNFD". In both cases validation error is thrown, if user actually presses the action button: "Cannot specify both file and direct input.".

Maybe the complete solution would be to clear both inputs (file and direct input) when user toggles select field?

Changed in tacker:
importance: Undecided → Low
tags: removed: rfe
summary: - Textbox contents need to be cleared while toggling between "File" and
- "Direct Input"
+ UI: Textbox contents need to be cleared while toggling between "File"
+ and "Direct Input"
tags: added: tacker-horizon
sajuptpm (sajuptpm)
Changed in tacker:
assignee: nobody → sajuptpm (sajuptpm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker-horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/335656

Changed in tacker:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker-horizon (master)

Reviewed: https://review.openstack.org/335656
Committed: https://git.openstack.org/cgit/openstack/tacker-horizon/commit/?id=c68618834d858e65028e9fbc4a293326aa904f23
Submitter: Jenkins
Branch: master

commit c68618834d858e65028e9fbc4a293326aa904f23
Author: Saju Madhavan <email address hidden>
Date: Thu Jun 30 01:38:06 2016 +0530

    improved validation of OnBoard VNF form

    Added check to make sure that user has selected TOSCA
    template file for source type 'file' and specified direct
    input for source type 'raw'.

    Change-Id: I3145aebe2c7d425422faf621fc9afc29b7c37773
    Partial-Bug: 1493513

Changed in tacker:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.