Project

General

Profile

Actions

Bug #14267

closed

Error in group page when searching "Last inventory date" + "is defined"

Bug #14267: Error in group page when searching "Last inventory date" + "is defined"

Added by Nicolas CHARLES almost 7 years ago. Updated about 6 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
69
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

On group page, for last inventory date, if i search simply for is defined, I get the following error:

[2019-02-01 14:42:30] ERROR net.liftweb.http.LiftRules - Exception being returned to browser when processing /lift/ajax/F655410956609D0HN22-50/
java.lang.IllegalArgumentException: The date format was not recognized: '', expected 'dd/MM/yyyy'
        at com.normation.rudder.domain.queries.DateComparator$.$anonfun$buildFilter$1(CmdbQuery.scala:449)
        at scala.Option.getOrElse(Option.scala:121)
        at com.normation.rudder.domain.queries.DateComparator$.buildFilter(CmdbQuery.scala:449)
        at com.normation.rudder.services.queries.InternalLDAPQueryProcessor.$anonfun$normalize$9(LdapQueryProcessor.scala:818)
        at net.liftweb.common.Full.flatMap(Box.scala:856)
        at com.normation.rudder.services.queries.InternalLDAPQueryProcessor.$anonfun$normalize$7(LdapQueryProcessor.scala:811)
        at com.normation.utils.Control$.$anonfun$sequence$1(Control.scala:53)
        at scala.collection.Iterator.foreach(Iterator.scala:944)
        at scala.collection.Iterator.foreach$(Iterator.scala:944)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1432)
        at scala.collection.IterableLike.foreach(IterableLike.scala:71)
        at scala.collection.IterableLike.foreach$(IterableLike.scala:70)
        at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
        at com.normation.utils.Control$.sequence(Control.scala:53)
        at com.normation.rudder.services.queries.InternalLDAPQueryProcessor.checkAndSplitFilterType$1(LdapQueryProcessor.scala:800)
        at com.normation.rudder.services.queries.InternalLDAPQueryProcessor.$anonfun$normalize$12(LdapQueryProcessor.scala:841)

happens on 5.0.5, but is likely to happen on all versions

Updated by François ARMAND over 6 years ago Actions #1

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Effort required set to Very Small
  • Priority changed from 0 to 79

Updated by François ARMAND over 6 years ago Actions #2

  • Assignee set to François ARMAND

Updated by Nicolas CHARLES over 6 years ago Actions #3

  • Target version set to 5.0.13
  • Priority changed from 79 to 75

Updated by Vincent MEMBRÉ over 6 years ago Actions #4

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 75 to 73

Updated by Vincent MEMBRÉ about 6 years ago Actions #5

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 73 to 72

Updated by François ARMAND about 6 years ago Actions #6

  • Status changed from New to In progress
  • Priority changed from 72 to 70

Updated by François ARMAND about 6 years ago Actions #7

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/2592

Updated by François ARMAND about 6 years ago Actions #8

  • Status changed from Pending technical review to Pending release

Updated by Vincent MEMBRÉ about 6 years ago Actions #9

  • Fix check set to To do

Updated by Vincent MEMBRÉ about 6 years ago Actions #10

  • Name check set to To do

Updated by Alexis Mousset about 6 years ago Actions #11

  • Subject changed from Error in group page when searching "Last inventory date" / is defined to Error in group page when searching "Last inventory date" + "is defined"
  • Name check changed from To do to Reviewed

Updated by François ARMAND about 6 years ago Actions #12

  • Fix check changed from To do to Checked

Updated by Vincent MEMBRÉ about 6 years ago Actions #13

  • Status changed from Pending release to Released
  • Priority changed from 70 to 69

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

Actions

Also available in: PDF Atom