Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0007708 | Openbravo ERP | A. Platform | public | 2009-02-20 10:45 | 2009-04-22 00:00 |
Reporter | marvintm | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 2.50beta | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0007708: generate.entities fails if an ad_column has default_value 00:00:00 | ||||
Description | ant generate.entities fails if an ad_column has default_value 00:00:00 Basically, it generates java classes that have incorrect statements, and when it tries to compile them, the following error appears: [javac] /mnt2/svn/montblanc/branches/2.50/Oracle/OpenbravoERP/AppsOpenbravo/src-gen/org/openbravo/model/materialmgmt/transaction/ProductionTransaction.java:70: ')' expected 432 [javac] »···»···»···setDefaultValue(PROPERTY_ENDINGTIME, 00:00:00); 433 [javac] »···»···»··· ^ 434 [javac] /mnt2/svn/montblanc/branches/2.50/Oracle/OpenbravoERP/AppsOpenbravo/src-gen/org/openbravo/model/materialmgmt/transaction/ProductionTransaction.java:70: not a statement 435 [javac] »···»···»···setDefaultValue(PROPERTY_ENDINGTIME, 00:00:00); [17:37:10] … 436 [javac] »···»···»··· ^ 437 [javac] /mnt2/svn/montblanc/branches/2.50/Oracle/OpenbravoERP/AppsOpenbravo/src-gen/org/openbravo/model/materialmgmt/transaction/ProductionTransaction.java:70: ';' expected 438 [javac] »···»···»···setDefaultValue(PROPERTY_ENDINGTIME, 00:00:00); 439 [javac] »···»···»··· ^ 440 [javac] /mnt2/svn/montblanc/branches/2.50/Oracle/OpenbravoERP/AppsOpenbravo/src-gen/org/openbravo/model/materialmgmt/transaction/ProductionTransaction.java:71: ')' expected 441 [javac] »···»···»···setDefaultValue(PROPERTY_STARTINGTIME, 00:00:00); 442 [javac] »···»···»··· ^ 443 [javac] /mnt2/svn/montblanc/branches/2.50/Oracle/OpenbravoERP/AppsOpenbravo/src-gen/org/openbravo/model/materialmgmt/transaction/ProductionTransaction.java:71: not a statement 444 [javac] »···»···»···setDefaultValue(PROPERTY_STARTINGTIME, 00:00:00); 445 [javac] »···»···»··· ^ 446 [javac] /mnt2/svn/montblanc/branches/2.50/Oracle/OpenbravoERP/AppsOpenbravo/src-gen/org/openbravo/model/materialmgmt/transaction/ProductionTransaction.java:71: ';' expected 447 [javac] »···»···»···setDefaultValue(PROPERTY_STARTINGTIME, 00:00:00); 448 [javac] »···»···»··· ^ 449 [javac] 6 errors 450 451 BUILD FAILED Apparently, 00:00:00 is supposed to be a correct value for the default_value column. If it's not, however, this bug doesn't make sense and it should rejected. However, if it actually is a correct value, then it should be fixed because customers currently have values like this in their databases. | ||||
Steps To Reproduce | |||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-02-20 10:45 | marvintm | New Issue | |||
2009-02-20 10:45 | marvintm | Assigned To | => mtaal | ||
2009-02-20 10:45 | marvintm | OBNetwork customer | => No | ||
2009-02-20 10:45 | marvintm | Regression testing | => No | ||
2009-02-20 16:40 | mtaal | Note Added: 0013855 | |||
2009-02-23 18:03 | svnbot | Checkin | |||
2009-02-23 18:03 | svnbot | Note Added: 0013965 | |||
2009-02-23 18:03 | svnbot | Status | new => resolved | ||
2009-02-23 18:03 | svnbot | Resolution | open => fixed | ||
2009-02-23 18:03 | svnbot | svn_revision | => 13547 | ||
2009-04-21 10:54 | psarobe | Status | resolved => closed | ||
2009-04-22 00:00 | anonymous | sf_bug_id | 0 => 2777978 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|