Project

General

Profile

Bug #12970

Broken technique editor if a technique is in the browser cache, but has been removed from the FS

Added by Nicolas CHARLES 5 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

I have a Technique in my browser cache, so I come back to it in the browser when go to the technique editor
However, this technique has been removed on the FS, and it leads to chaos:


Error: $scope.selectedTechnique.method_calls is undefined
$scope.checkSelectedTechnique@https://192.168.41.2/ncf-builder/js/ncf.js:903:10
functionCall/<@https://192.168.41.2/ncf-builder/js/angular-1.3.14.min.js:198:301
||@https://192.168.41.2/ncf-builder/js/angular-1.3.14.min.js:183:115
binaryFn/<@https://192.168.41.2/ncf-builder/js/angular-1.3.14.min.js:191:468
||@https://192.168.41.2/ncf-builder/js/angular-1.3.14.min.js:183:107
binaryFn/<@https://192.168.41.2/ncf-builder/js/angular-1.3.14.min.js:191:468
$digest@https://192.168.41.2/ncf-builder/js/angular-1.3.14.min.js:123:1
$apply@https://192.168.41.2/ncf-builder/js/angular-1.3.14.min.js:126:56
compile/</<@https://192.168.41.2/ncf-builder/js/angular-1.3.14.min.js:215:34
c@https://192.168.41.2/ncf-builder/js/angular-1.3.14.min.js:32:384

Associated revisions

Revision 683c0baf (diff)
Added by Nicolas CHARLES 5 months ago

Fixes #12970: Broken technique editor if a technique is in the browser cache, but has been removed from the FS

History

#1 Updated by Nicolas CHARLES 5 months ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES

#2 Updated by Nicolas CHARLES 5 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/ncf/pull/793

#3 Updated by Alexis MOUSSET 5 months ago

  • Assignee changed from Alexis MOUSSET to Raphael GAUTHIER

#4 Updated by Normation Quality Assistant 5 months ago

  • Assignee changed from Raphael GAUTHIER to Nicolas CHARLES

#5 Updated by Nicolas CHARLES 5 months ago

  • Status changed from Pending technical review to Pending release

#6 Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 4.1.14 to 4.1.13

#7 Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.13, 4.2.7 and 4.3.3 which were released today.

Also available in: Atom PDF