Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025915
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajoralways2014-03-05 23:272014-05-19 13:46
ReporterdbazView Statuspublic 
Assigned Toguillermogil 
PriorityhighResolutionunable to reproduceFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025915: Problem in grid while trying to filter "DateTime" references

DescriptionProblem in grid while trying to filter "DateTime" references
Steps To ReproduceHere it is a video showing how can it be reproduced:
http://screencast.com/t/8Y5nlEf5T [^]

The module "org.openbravo.platform.features" is needed.

Server: Spanish timezone GMT+1
Client: San Francisco timezone GMT-5
Client date: 27-Feb-2014 20:00:00 GMT-5

As "Openbravo Admin":
* Go to "Sales Order"
* Create a new record with:
   - Absolute Date-Time: "26-02-2014 23:59:59"
   - Relative Date-Time: "26-02-2014 23:59:59"
* Go to grid view to test some filters:

a) In "Absolute Date-Time" filter from "Today" to "Tomorrow". As expected: no rows are returned.
b) In "Absolute Date-Time" filter from "Yesterday" to "Today". As expected: it returns the recent created register.

c) In "Relative Date-Time" filter from "Today" to "Tomorrow". It is wrong: it returns the recent created register and it shouldn't.
d) In "Absolute Date-Time" filter from "Yesterday" to "Today". As expected, it returns the recent created register.

e) In "Absolute Date-Time" filter from "27-02-2014" to "27-02-2014". As expected: no rows are returned.
f) In "Absolute Date-Time" filter from "26-02-2014" to "26-02-2014". As expected: it returns the recent created register.

e) In "Relative Date-Time" filter from "27-02-2014" to "27-02-2014". It is wrong: it returns the recent created register and it shouldn't.
f) In "Relative Date-Time" filter from "26-02-2014" to "26-02-2014". It is wrong: it doesn't return anything and it should return the recent created register and it shouldn't.

As you can see, the problem is with "c" "e" and "f" cases, but after the fix, the test should ensure that all cases work ok.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0064873)
dbaz (developer)
2014-03-05 23:28

The issue already happens before [scupgrade] and [absref] were merged.
(0067255)
guillermogil (developer)
2014-05-19 13:46

This behavior has been fixed on https://code.openbravo.com/erp/devel/pi/rev/2fa563c7719d157d7903f91a7f638daf2ee8a495 [^]

- Issue History
Date Modified Username Field Change
2014-03-05 23:27 dbaz New Issue
2014-03-05 23:27 dbaz Assigned To => AugustoMauch
2014-03-05 23:27 dbaz Modules => Core
2014-03-05 23:27 dbaz Triggers an Emergency Pack => No
2014-03-05 23:28 dbaz Note Added: 0064873
2014-03-05 23:28 dbaz Issue Monitored: dbaz
2014-05-19 13:36 guillermogil Assigned To AugustoMauch => guillermogil
2014-05-19 13:46 guillermogil Review Assigned To => AugustoMauch
2014-05-19 13:46 guillermogil Note Added: 0067255
2014-05-19 13:46 guillermogil Status new => closed
2014-05-19 13:46 guillermogil Resolution open => unable to reproduce
2014-05-19 13:46 guillermogil Fixed in Version => pi


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker