Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0043617 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Send By Email | major | always | 2020-03-31 12:26 | 2021-08-23 09:37 | |||
Reporter | salvador_campanella | View Status | public | |||||
Assigned To | salvador_campanella | |||||||
Priority | normal | Resolution | unable to reproduce | Fixed in Version | ||||
Status | closed | 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 | RR20Q1 | SCM revision | ||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0043617: org.openbravo.retail.sendemail module fails compiling | |||||||
Description | org.openbravo.retail.sendemail module fails compiling | |||||||
Steps To Reproduce | - In a local environment 20Q1 with retails modules -copy the module in the modules folder https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sendemail [^] - Execute the command "ant smartbuild -Dlocal=no" Result compileSqlc: [javac] Compiling 3 source files to /home/openbravo/OBenvironments/ob_3_0pr20q1_15420/build/classes [javac] /home/openbravo/OBenvironments/ob_3_0pr20q1_15420/modules/org.openbravo.retail.sendemail/src/org/openbravo/retail/sendemail/sync/OBSMAIL_ErrorHandler.java:29: error: OBSMAIL_ErrorHandler is not abstract and does not override abstract method handleError(Throwable,Entity,JSONObject,JSONObject) in DataSynchronizationErrorHandler [javac] public class OBSMAIL_ErrorHandler extends DataSynchronizationErrorHandler { [javac] ^ [javac] /home/openbravo/OBenvironments/ob_3_0pr20q1_15420/modules/org.openbravo.retail.sendemail/src/org/openbravo/retail/sendemail/sync/OBSMAIL_ErrorHandler.java:32: error: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] 2 errors BUILD FAILED /home/openbravo/OBenvironments/ob_3_0pr20q1_15420/build.xml:420: The following error occurred while executing this line: /home/openbravo/OBenvironments/ob_3_0pr20q1_15420/src/build.xml:575: The following error occurred while executing this line: /home/openbravo/OBenvironments/ob_3_0pr20q1_15420/src/build.xml:251: Compile failed; see the compiler error output for details. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0131042) plujan (manager) 2021-08-09 14:54 |
Comment from the developer: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sendemail/-/commit/8e1efba8594727bfe97ec9bc34dd50d5cf01f404 [^] -- public void handleError(final Throwable exception, final Entity entity, final JSONObject result, final JSONObject jsonRecord) { ++ public void handleError(final Throwable exception, final String typeOfData, final JSONObject result, final JSONObject jsonRecord) { From above 2 commits I can guess the following, As per commit handleError(Throwable,Entity,JSONObject,JSONObject) is old function. It is updated to new function handleError(Throwable,String,JSONObject,JSONObject). So I think the user gave build by updating sendemail module upto date where the handleError 2nd param is String(New Function). But he missed to updated mobile core module where the handleError 2nd param is Entity (Old Function). Therefore the error occurs. |
Issue History | |||
Date Modified | Username | Field | Change |
2020-03-31 12:26 | salvador_campanella | New Issue | |
2020-03-31 12:26 | salvador_campanella | Assigned To | => Retail |
2020-03-31 12:26 | salvador_campanella | Resolution time | => 1587420000 |
2020-03-31 12:26 | salvador_campanella | Triggers an Emergency Pack | => No |
2020-03-31 13:08 | Practics | Issue Monitored: Practics | |
2020-04-08 08:02 | prakashmurugesan88 | Assigned To | Retail => prakashmurugesan88 |
2020-04-08 08:25 | prakashmurugesan88 | Status | new => scheduled |
2020-04-08 11:48 | prakashmurugesan88 | Assigned To | prakashmurugesan88 => guilleaer |
2020-04-08 13:09 | prakashmurugesan88 | Assigned To | guilleaer => prakashmurugesan88 |
2020-04-08 17:32 | salvador_campanella | version | pi => RR20Q1 |
2020-04-08 17:32 | salvador_campanella | Steps to Reproduce Updated | View Revisions |
2020-04-17 14:46 | guilleaer | Assigned To | prakashmurugesan88 => salvador_campanella |
2020-04-17 14:46 | guilleaer | Status | scheduled => feedback |
2021-08-09 14:54 | plujan | Note Added: 0131042 | |
2021-08-23 09:37 | marvintm | Status | feedback => closed |
2021-08-23 09:37 | marvintm | Resolution | open => unable to reproduce |
Copyright © 2000 - 2009 MantisBT Group |