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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030619
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2015-08-21 10:072015-09-28 13:19
ReportermaiteView Statuspublic 
Assigned ToTriage Omni OMS 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version3.0PR16Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tovmromanos
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0030619: Error "java.text.ParseException: Unparseable date: "null" received when running Add Payment process from a copied window

DescriptionError "java.text.ParseException: Unparseable date: "null" received when running Add Payment process from a copied window
Steps To Reproduce1. As System Administrator, access Windows, Tabs and Fields and create new record. Run process "Copy window tabs" selecting Sales Invoice window
2. As System Administrator, access Menu and create new records with type= window and referencing previous window
3. Logout and login
4. Access copied window and select an invoice with Payment Complete=No
5. Run Add Payment process and error "org.openbravo.base.exception.OBException: java.text.ParseException: Unparseable date: "null"" will be raised
Proposed SolutionHandle the error, (the DefaultsProcessActionHandler class looks a good choice), showing the correct message, including a link to the documentation where the creation of the missing classes should be explained. And finally the Add Payment pop-up should be closed automatically in order to avoid further problems.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0029035 closedinigosanchez Process definition containing parameters defined as "window", should automatically inherit permissions 

-  Notes
(0079641)
caristu (developer)
2015-08-24 15:17
edited on: 2015-08-24 15:22

Every window which makes use of the Add Payment window has its own classes to handle the default values and display logics of the Add Payment pop-up. For example, the Sales Invoice window makes use of the following classes: SalesInvoiceAddPaymentDefaultValues, SalesInvoiceAddPaymentDisplayLogics and SalesInvoiceAddPaymentReadOnlyLogics.

The problem here is that the newly created window does not have any of these handlers, causing the error.

To avoid this problem, these case error be handled, showing the proper message and pointing to the documentation where the creation of these classes should be explained.

(0079689)
vmromanos (manager)
2015-08-25 11:38

Candidate to be rejected.

Temporary changed severity to minor, as this is a consequence of an external customization and not a problem in the Product.
The reporter has been informed about a way to develop a fix in his customization.
(0080013)
maite (developer)
2015-09-02 10:12

cloned window containing Add Payment process is not working any more after upgrade the environment
(0080668)
vmromanos (manager)
2015-09-28 13:19

This is a consequence of the usage of the new Process Definition framework on Java for default values, display logic and read only logic.

Documented in release notes: http://wiki.openbravo.com/wiki/Release_Notes/3.0PR14Q3#Known_issues [^]

- Issue History
Date Modified Username Field Change
2015-08-21 10:07 maite New Issue
2015-08-21 10:07 maite Assigned To => platform
2015-08-21 10:07 maite Modules => Core
2015-08-21 10:07 maite Resolution time => 1443045600
2015-08-21 10:07 maite Triggers an Emergency Pack => No
2015-08-21 10:08 maite Relationship added related to 0029035
2015-08-21 10:08 maite Issue Monitored: networkb
2015-08-24 15:17 caristu Note Added: 0079641
2015-08-24 15:21 caristu Assigned To platform => Triage Finance
2015-08-24 15:21 caristu Category A. Platform => 09. Financial management
2015-08-24 15:21 caristu Proposed Solution updated
2015-08-24 15:22 caristu Note Edited: 0079641 View Revisions
2015-08-25 11:38 vmromanos Note Added: 0079689
2015-08-25 11:38 vmromanos Severity major => minor
2015-08-31 14:31 maite Resolution time 1443045600 =>
2015-08-31 14:42 maite Review Assigned To => alostale
2015-08-31 14:42 maite Resolution time => 1443045600
2015-08-31 14:42 maite Status new => feedback
2015-09-02 10:12 maite Note Added: 0080013
2015-09-02 10:12 maite Status feedback => new
2015-09-28 11:17 vmromanos Target Version 3.0PR15Q4 => 3.0PR16Q1
2015-09-28 13:19 vmromanos Review Assigned To alostale => vmromanos
2015-09-28 13:19 vmromanos Note Added: 0080668
2015-09-28 13:19 vmromanos Status new => closed
2015-09-28 13:19 vmromanos Resolution open => no change required


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker