Project

General

Profile

Actions

Bug #8062

closed

Sometimes the techniques do not appear at first load of the technique editor

Added by Alexis Mousset about 8 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Looks like the generic methods are not available yet when loading the techniques:

Error: invalid 'in' operand $scope.generic_methods
$scope.getMethodParameters@https://localhost:8181/ncf-builder/js/ncf.js:507:1
$scope.toTechUI/calls<@https://localhost:8181/ncf-builder/js/ncf.js:195:32
$scope.toTechUI@https://localhost:8181/ncf-builder/js/ncf.js:174:19
$scope.getTechniques/</<@https://localhost:8181/ncf-builder/js/ncf.js:236:27
.each@https://localhost:8181/ncf-builder/js/jquery-1.11.1.min.js:2:3025
$scope.getTechniques/<@https://localhost:8181/ncf-builder/js/ncf.js:235:9
k/g.success/<@https://localhost:8181/ncf-builder/js/angular-1.3.14.min.js:80:385
f/<@https://localhost:8181/ncf-builder/js/angular-1.3.14.min.js:112:20
Pe/this.$get</l.prototype.$eval@https://localhost:8181/ncf-builder/js/angular-1.3.14.min.js:125:301
Pe/this.$get</l.prototype.$digest@https://localhost:8181/ncf-builder/js/angular-1.3.14.min.js:122:390
Pe/this.$get</l.prototype.$apply@https://localhost:8181/ncf-builder/js/angular-1.3.14.min.js:126:56
l@https://localhost:8181/ncf-builder/js/angular-1.3.14.min.js:81:169
S@https://localhost:8181/ncf-builder/js/angular-1.3.14.min.js:85:301
vf/</D.onload@https://localhost:8181/ncf-builder/js/angular-1.3.14.min.js:86:315

Happened with 1 technique, fixed by reloading the page with F5.

Actions #1

Updated by Alexis Mousset about 8 years ago

  • Description updated (diff)
Actions #2

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from New to In progress
Actions #3

Updated by Vincent MEMBRÉ about 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/ncf/pull/332
Actions #4

Updated by Vincent MEMBRÉ about 8 years ago

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

Applied in changeset commit:054b4789fbd3ff5a392ad2042a7d99298ab04fd7.

Actions #5

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released
Actions #6

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #7

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category set to Generic methods
Actions

Also available in: Atom PDF