Project

General

Profile

Actions

Bug #14267

closed

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

Added by Nicolas CHARLES about 5 years ago. Updated over 4 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

Also available in: Atom PDF