Project

General

Profile

Actions

Bug #6490

closed

No rules displayed in firefox

Added by Olivier Mauras over 9 years ago. Updated over 9 years ago.

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

Description

No idea how this happened, has been fixed by running the following command in the FFX js console:
localStorage.removeItem("DataTables_rules")

Actions #1

Updated by François ARMAND over 9 years ago

Thanks for reporting.

For information, the result of localStorage.getItem("DataTables_rules") was:

{
  "iCreate": 1428509801412,
  "iStart": 0,
  "iEnd": 0,
  "iLength": 10,
  "aaSorting": [
    [
      0,
      "asc",
      0
    ]
  ],
  "oSearch": {
    "bCaseInsensitive": true,
    "sSearch": "",
    "bRegex": false,
    "bSmart": true
  },
  "aoSearchCols": [
    {
      "bCaseInsensitive": true,
      "sSearch": "",
      "bRegex": false,
      "bSmart": true
    },
    {
      "bCaseInsensitive": true,
      "sSearch": "",
      "bRegex": true,
      "bSmart": false
    },
    {
      "bCaseInsensitive": true,
      "sSearch": "^$",
      "bRegex": true,
      "bSmart": false
    },
    {
      "bCaseInsensitive": true,
      "sSearch": "",
      "bRegex": false,
      "bSmart": true
    },
    {
      "bCaseInsensitive": true,
      "sSearch": "",
      "bRegex": false,
      "bSmart": true
    },
    {
      "bCaseInsensitive": true,
      "sSearch": "",
      "bRegex": false,
      "bSmart": true
    }
  ],
  "abVisCols": [
    true,
    true,
    true,
    true,
    true,
    true
  ]
}
Actions #2

Updated by François ARMAND over 9 years ago

And to be more precise, once in that state, nothing seems to allow to go out of it.

You can try by going to the rule page and enter in the firefox console (for example):

localStorage.setItem("DataTables_rules", '{"iCreate":1428509801412,"iStart":0,"iEnd":0,"iLength":10,"aaSorting":[[0,"asc",0]],"oSearch":{"bCaseInsensitive":true,"sSearch":"","bRegex":false,"bSmart":true},"aoSearchCols":[{"bCaseInsensitive":true,"sSearch":"","bRegex":false,"bSmart":true},{"bCaseInsensitive":true,"sSearch":"","bRegex":true,"bSmart":false},{"bCaseInsensitive":true,"sSearch":"^$","bRegex":true,"bSmart":false},{"bCaseInsensitive":true,"sSearch":"","bRegex":false,"bSmart":true},{"bCaseInsensitive":true,"sSearch":"","bRegex":false,"bSmart":true},{"bCaseInsensitive":true,"sSearch":"","bRegex":false,"bSmart":true}],"abVisCols":[true,true,true,true,true,true]}' )
Actions #3

Updated by François ARMAND over 9 years ago

  • Assignee set to Vincent MEMBRÉ
  • Target version set to 3.0.4
  • Reproduced changed from No to Yes
  • How to reproduce updated (diff)
  • Found in version(s) old 3.0.1, 3.0.2, 3.0.3 added

I think it's a task for Vincent !

Actions #4

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 3.0.4 to 3.0.5
Actions #5

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 3.0.5 to 3.0.6
Actions #6

Updated by François ARMAND over 9 years ago

  • Found in version(s) old 2.10.0, 2.10.1, 2.10.10, 2.10.11, 2.10.12, 2.10.2, 2.10.3, 2.10.4, 2.10.5, 2.10.6, 2.10.7, 2.10.8, 2.10.9, 2.11.0, 2.11.2, 2.11.3, 2.11.4, 2.11.5, 2.11.9, 3.0.0 added

New information about how to reproduce it and workaround it:

Reproduce:

- you need to have sub-categories defined for rules
- go to directives => edit a directive
- at the bottom, in the rule section, click on a sub category
- go to the rule page with the menu => no rules displayed

Workaround:

- go to directives => edit a directive
- at the bottom, in the rule section, click on the top (root) category
- go to the rule page with the menu => rules are displayed

Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 3.0.6 to 2.10.15
Actions #8

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from New to In progress
Actions #9

Updated by Vincent MEMBRÉ over 9 years ago

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

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #12

Updated by Vincent MEMBRÉ over 9 years ago

This bug has been fixed in Rudder 2.10.15, 2.11.12, 3.0.7 and 3.1.0 which were released today.

Actions #13

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF