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 8 years ago. Updated over 8 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 #1

Updated by Vincent MEMBRÉ over 8 years ago

  • Category set to Web - Config management
  • Assignee set to Vincent MEMBRÉ
  • Target version set to 2.11.24

Thank You Avit for this complete bug report !

I'l try to fix it in the next releases

Actions #2

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from New to In progress
Actions #3

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/1169
Actions #4

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #5

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.24, 3.1.13 and 3.2.6 which were released today.

Actions

Also available in: Atom PDF