Project

General

Profile

Actions

Bug #14267

closed

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

Added by Nicolas CHARLES almost 6 years ago. Updated almost 5 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

Actions #1

Updated by François ARMAND over 5 years ago

  • 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
Actions #2

Updated by François ARMAND over 5 years ago

  • Assignee set to François ARMAND
Actions #3

Updated by Nicolas CHARLES over 5 years ago

  • Target version set to 5.0.13
  • Priority changed from 79 to 75
Actions #4

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 75 to 73
Actions #5

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 73 to 72
Actions #6

Updated by François ARMAND about 5 years ago

  • Status changed from New to In progress
  • Priority changed from 72 to 70
Actions #7

Updated by François ARMAND about 5 years ago

  • 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
Actions #8

Updated by François ARMAND about 5 years ago

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

Updated by Vincent MEMBRÉ about 5 years ago

  • Fix check set to To do
Actions #10

Updated by Vincent MEMBRÉ about 5 years ago

  • Name check set to To do
Actions #11

Updated by Alexis Mousset about 5 years ago

  • 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
Actions #12

Updated by François ARMAND about 5 years ago

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

Updated by Vincent MEMBRÉ almost 5 years ago

  • 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: Atom PDF