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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013107
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionarymajoralways2010-04-23 17:252010-05-18 21:43
ReporternetworkbView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision6e98e916a1c9
ProjectionnoneETAnoneTarget Version2.50MP17
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP14SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013107: Error with a Process with a parameter 'Time'

DescriptionCreate a process with a parameter, reference: time.

When you execute the process (IE. 10:00:00), the value is saved on the column p_date of the table ad_pinstance_para as "0001-01-10 00:00:00 BC".
Steps To Reproduce-As System Administrator create a new module. (Prefix: PR)
-go to Application Dictionary || Report and Process
-Create a new record:
     - Search Key: PR_process
     - Name: process.
     - Procedure: PR_process

- Go to parameter and create a new record:
     - Name: Hour
     - DB Column Name: DateFrom
     - Reference: Time

- Go to General Setup || Application || Menu
- Create a new record:
     - Action: Process and select the process created.

- Compile:
     ant smartbuild
- Restart Tomcat

- Go to the process, introduce: 10:00:00

- On the DB:

select * from ad_pinstance_para order by created desc

- Realize that the data has been saved on teh column p_date as "0001-01-10 00:00:00 BC".
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0026799)
hgbot (developer)
2010-04-29 16:52

Repository: erp/devel/pi
Changeset: 6e98e916a1c90d5a3347d3c51a6c5e540fe17e4a
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Apr 29 16:52:18 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6e98e916a1c90d5a3347d3c51a6c5e540fe17e4a [^]

fixed bug 13107: Error with a Process with a parameter 'Time'

---
M src-wad/src/org/openbravo/wad/WadActionButton.java
M src-wad/src/org/openbravo/wad/controls/WADControl.java
M src-wad/src/org/openbravo/wad/controls/WADTime.java
M src/org/openbravo/erpCommon/reference/PInstanceProcess_data.xsql
---
(0027361)
marvintm (developer)
2010-05-17 11:59

Verified that following the steps to reproduce I get a correct time (10:00:00) as the value of the parameter.
(0027457)
hudsonbot (developer)
2010-05-18 21:43

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/6e98e916a1c9 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]

- Issue History
Date Modified Username Field Change
2010-04-23 17:25 networkb New Issue
2010-04-23 17:25 networkb Assigned To => alostale
2010-04-26 08:32 alostale Status new => scheduled
2010-04-29 16:52 hgbot Checkin
2010-04-29 16:52 hgbot Note Added: 0026799
2010-04-29 16:52 hgbot Status scheduled => resolved
2010-04-29 16:52 hgbot Resolution open => fixed
2010-04-29 16:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6e98e916a1c90d5a3347d3c51a6c5e540fe17e4a [^]
2010-05-11 18:19 jpabloae Target Version 2.50MP16 => 2.50MP17
2010-05-17 11:59 marvintm Note Added: 0027361
2010-05-17 11:59 marvintm Status resolved => closed
2010-05-18 00:01 anonymous sf_bug_id 0 => 3002958
2010-05-18 21:43 hudsonbot Checkin
2010-05-18 21:43 hudsonbot Note Added: 0027457


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker