Project

General

Profile

Actions

Bug #10956

closed

Fix js errors when selecting a generic method

Added by Raphael GAUTHIER almost 7 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Very Small
Priority:
0
Name check:
Fix check:
Regression:

Description

Currently, if we try to select a generic method but no techniques are selected, this causes a js error :

  TypeError: Cannot read property 'method_calls' of undefined

If a technique is selected, this causes another js error :

  TypeError: Cannot read property 'length' of undefined

We should disable selecting of generic methods and fix theses errors.

Actions #1

Updated by Raphael GAUTHIER almost 7 years ago

  • Status changed from New to In progress
Actions #2

Updated by Raphael GAUTHIER almost 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Raphael GAUTHIER to François ARMAND
  • Pull Request set to https://github.com/Normation/ncf/pull/599
Actions #3

Updated by Anonymous almost 7 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:11cc28427a198561ef221ae869dd45ebe39f8d2d.

Actions #4

Updated by Vincent MEMBRÉ over 6 years ago

  • Status changed from Pending release to Released
  • Priority changed from 0 to 46
Actions #5

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 0.x to ncf-0.x
  • Priority changed from 46 to 0
Actions #6

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Technique editor - UI/UX to Web - Technique editor
Actions

Also available in: Atom PDF