Project

General

Profile

Bug #12388

Node agent schedule cannot be changed due to a JS Error

Added by François ARMAND about 1 year ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
Web - UI & UX
Target version:
Severity:
User visibility:
Effort required:
Priority:
0
Tags:

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

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 upNewActions

Associated revisions

Revision 42d29c78 (diff)
Added by François ARMAND about 1 year ago

Fixes #12388: Node agent schedule cannot be changed due to a JS Error

History

#1

Updated by François ARMAND about 1 year ago

  • Tags set to Blocking 4.3
  • Category set to Web - UI & UX
  • Target version set to 4.3.0
#2

Updated by Nicolas CHARLES about 1 year 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
#3

Updated by François ARMAND about 1 year 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");
          } );
      ;});
#4

Updated by François ARMAND about 1 year ago

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

Updated by François ARMAND about 1 year ago

It works in a the global setting pages though.

#6

Updated by François ARMAND about 1 year ago

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

Updated by François ARMAND about 1 year 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
#8

Updated by Rudder Quality Assistant about 1 year ago

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

Updated by François ARMAND about 1 year ago

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

Updated by Alexis MOUSSET about 1 year ago

  • Status changed from Pending release to Released

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

Also available in: Atom PDF