Project

General

Profile

Bug #14267

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

Added by Nicolas CHARLES over 1 year ago. Updated 10 months ago.

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

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

#1

Updated by François ARMAND over 1 year 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
#2

Updated by François ARMAND over 1 year ago

  • Assignee set to François ARMAND
#3

Updated by Nicolas CHARLES about 1 year ago

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

Updated by Vincent MEMBRÉ about 1 year ago

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

Updated by Vincent MEMBRÉ 12 months ago

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

Updated by François ARMAND 11 months ago

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

Updated by François ARMAND 11 months 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
#8

Updated by François ARMAND 11 months ago

  • Status changed from Pending technical review to Pending release
#11

Updated by Alexis MOUSSET 10 months 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"
#13

Updated by Vincent MEMBRÉ 10 months 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.

Also available in: Atom PDF