Project

General

Profile

Actions

Bug #12388

closed

Node agent schedule cannot be changed due to a JS Error

Added by François ARMAND almost 6 years ago. Updated almost 6 years ago.

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

Description

With Rudder-RC3, I have a JS error on node detail page: see screenshot

I have also a :

TypeError: scope is undefined[Learn More] searchNodes:71:11

On my dev env, but not sure it's the same thing or a problem on my env.


Files

shot-2018-04-09_15-29-47.jpg (199 KB) shot-2018-04-09_15-29-47.jpg François ARMAND, 2018-04-09 15:32

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #11680: When we shift-reload the "Compliance reports" in nodes, there is a javascript error, and we don't have compliance that's show upResolvedRaphael GAUTHIERActions
Actions #1

Updated by François ARMAND almost 6 years ago

  • Translation missing: en.field_tag_list set to Blocking 4.3
  • Category set to Web - UI & UX
  • Target version set to 4.3.0
Actions #2

Updated by Nicolas CHARLES almost 6 years ago

  • Related to Bug #11680: When we shift-reload the "Compliance reports" in nodes, there is a javascript error, and we don't have compliance that's show up added
Actions #3

Updated by François ARMAND almost 6 years ago

The problem happens with the following JS code which is returns when a node is displayed:

jQuery(document).ready(function() {
       angular.bootstrap("#cfagentSchedule", ['cfagentSchedule']);
       var scope = angular.element($("#agentScheduleController")).scope();
          scope.$apply(function(){
            scope.init({ 'overrides'   : null
        , 'interval'    : 5
        , 'startHour'   : 0
        , 'startMinute' : 0
        , 'splayHour'   : 0
        , 'splayMinute' : 4
       }, { 'overrides'   : null
        , 'interval'    : 5
        , 'startHour'   : 0
        , 'startMinute' : 0
        , 'splayHour'   : 0
        , 'splayMinute' : 4
       }, function(schedule) {lift.ajax('F497802427744HGNASB=' + encodeURIComponent(schedule), null, null, null);}, "/rudder");
          } );
      ;});
Actions #4

Updated by François ARMAND almost 6 years ago

  • Subject changed from JS Error on node details page to Node agent schedule cannot be changed due to a JS Error
Actions #5

Updated by François ARMAND almost 6 years ago

It works in a the global setting pages though.

Actions #6

Updated by François ARMAND almost 6 years ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #7

Updated by François ARMAND almost 6 years ago

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

Updated by Rudder Quality Assistant almost 6 years ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
Actions #9

Updated by François ARMAND almost 6 years ago

  • Status changed from Pending technical review to Pending release
Actions #10

Updated by Alexis Mousset almost 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.3.0 which was released today.

Actions

Also available in: Atom PDF