Actions
Bug #12388
closedNode agent schedule cannot be changed due to a JS Error
Pull Request:
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
Updated by François ARMAND over 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
Updated by Nicolas CHARLES over 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
Updated by François ARMAND over 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"); } ); ;});
Updated by François ARMAND over 6 years ago
- Subject changed from JS Error on node details page to Node agent schedule cannot be changed due to a JS Error
Updated by François ARMAND over 6 years ago
It works in a the global setting pages though.
Updated by François ARMAND over 6 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 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
Updated by Rudder Quality Assistant over 6 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
Updated by François ARMAND over 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|42d29c788ecccf794609e8564968bd827e074f37.
Updated by Alexis Mousset over 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.3.0 which was released today.
- 4.3.0: Announce Changelog
- Download: https://www.rudder-project.org/site/get-rudder/downloads/
Actions