Project

General

Profile

Actions

Bug #8874

closed

Unable to save/edit a directive via rudder web ui when technique use an optionnal SELECT field

Added by Avit Sidis over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

It seems that rudder UI do not like a SELECT field(metadata.xml) that could be empty such as :

      <SELECT>
        <NAME>CAPABILITIES</NAME>
        <DESCRIPTION>Add linux capabilities to container</DESCRIPTION>
        <ITEM><VALUE>SETPCAP</VALUE><LABEL>SETPCAP: Modify process capabilities.</LABEL></ITEM>
        <ITEM><VALUE>TEXST</VALUE><LABEL>TEST: Modify process capabilities.</LABEL></ITEM>
        <CONSTRAINT>
          <MAYBEEMPTY>true</MAYBEEMPTY>
        </CONSTRAINT>
      </SELECT>

In that case whenever you try to create/update/review a directive that didn't set a value in the select you got the nice spinning wheel for about 1 minute and a timeout error.


Files

hello3.zip (1.66 KB) hello3.zip sample technique Avit Sidis, 2016-08-19 14:53
Actions

Also available in: Atom PDF