Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0035430 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
design defect | [Openbravo ERP] A. Platform | minor | N/A | 2017-03-06 08:48 | 2022-02-01 08:09 | ||||||
Reporter | caristu | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | high | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | Fix in branch | Fixed in SCM revision | ||||||||
Projection | none | ETA | none | Target Version | |||||||
OS | Any | Database | Any | Java version | |||||||
OS Version | Database version | Ant version | |||||||||
Product Version | SCM revision | ||||||||||
Review Assigned To | |||||||||||
Web browser | |||||||||||
Modules | Core | ||||||||||
Regression level | |||||||||||
Regression date | |||||||||||
Regression introduced in release | |||||||||||
Regression introduced by commit | |||||||||||
Triggers an Emergency Pack | No | ||||||||||
Summary | 0035430: Is not possible to define a valid criteria for a date using openDirectTab utility function | ||||||||||
Description | Is not possible to define a valid criteria for a date using openDirectTab utility function | ||||||||||
Steps To Reproduce | 1) 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 Solution | The 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. | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |