Project

General

Profile

Actions

Bug #24679

closed

File picker is broken in 8.0

Added by Nicolas CHARLES 8 months ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Yes

Description

When trying to choose a file in a Directive based on "File downlaod (rudder server)", the file picker doesn't work
JS console says

Uncaught SyntaxError: missing } after property list
    jQuery 3
    <anonymous> https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:2
    jQuery 8
    ajaxPost https://rudder.lab.rudder.io/rudder/classpath/lift.js:702
    doAjaxCycle https://rudder.lab.rudder.io/rudder/classpath/lift.js:280
    appendToQueue https://rudder.lab.rudder.io/rudder/classpath/lift.js:138
    action https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:28
    <anonymous> https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:34
    c https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    o https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    b https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    J https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    G https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    P https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    rn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    nn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    b https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    t https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    Tn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    kn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    yn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    yn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    zn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    Rn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    i https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    Pn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    Pn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    Pn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    Pn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    Pn https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    u https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:1
    <anonymous> https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:17
    jQuery 9
    <anonymous> https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement line 2 > injectedScript:9
    jQuery 8
    ajaxPost https://rudder.lab.rudder.io/rudder/classpath/lift.js:702
    doAjaxCycle https://rudder.lab.rudder.io/rudder/classpath/lift.js:280
    appendToQueue https://rudder.lab.rudder.io/rudder/classpath/lift.js:138
    onclick https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement:1
directiveManagement:14:23note: { opened at line 8, column 14

att the directive page loading, and
Uncaught ReferenceError: fm is not defined
    showFileManager https://rudder.lab.rudder.io/rudder/cache-8.0.6/javascript/rudder/rudder.js:598
    onclick https://rudder.lab.rudder.io/rudder/secure/configurationManager/directiveManagement:1

when clicking
tested in 8.08-nightly and 8.0.6


Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #24746: file selector doesn't work in Rudder 8.1RejectedActions
Actions #1

Updated by Nicolas CHARLES 8 months ago

  • Regression changed from No to Yes
Actions #2

Updated by Raphael GAUTHIER 8 months ago

  • Status changed from New to In progress
  • Assignee set to Raphael GAUTHIER
Actions #3

Updated by Raphael GAUTHIER 8 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Raphael GAUTHIER to Clark ANDRIANASOLO
  • Pull Request set to https://github.com/Normation/rudder/pull/5582
Actions #4

Updated by Raphael GAUTHIER 7 months ago

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

Updated by Elaad FURREEDAN 7 months ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Elaad FURREEDAN 7 months ago

  • Has duplicate Bug #24746: file selector doesn't work in Rudder 8.1 added
Actions #7

Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.0.8 and 8.1.1 which were released today.

Actions

Also available in: Atom PDF