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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035430
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. PlatformminorN/A2017-03-06 08:482022-02-01 08:09
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0035430: Is not possible to define a valid criteria for a date using openDirectTab utility function

DescriptionIs not possible to define a valid criteria for a date using openDirectTab utility function
Steps To Reproduce1) Execute the following function using dev. console:

OB.Utilities.Action.execute("openDirectTab", { tabId: "263", newTabPosition: OB.MainView.TabSet.paneContainer.members.length, criteria: isc.JSON.encode ({_constructor: "AdvancedCriteria", operator: "and", criteria: [{
    fieldName: "invoiceDate", operator: "lessOrEqual", value: OB.Utilities.Date.OBToJS('01-01-2016', OB.Format.date)
}]})})

Note that it is defining a criteria for the "Invoice Date" field. But it is not being set properly: the filter text says "Before null"
Proposed SolutionThe problem is that when invoking openDirectTab, it is only allowed to pass the criteria as a string, when the criteria is sent as string the date is then not recovered properly when applying it into the filter.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-03-06 08:48 caristu New Issue
2017-03-06 08:48 caristu Assigned To => platform
2017-03-06 08:48 caristu Modules => Core
2017-03-06 08:48 caristu Triggers an Emergency Pack => No
2017-04-07 08:51 alostale Status new => acknowledged
2017-04-07 08:51 alostale Type defect => design defect
2022-02-01 08:09 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker