Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Send By Emailmajoralways2020-03-31 12:262021-08-23 09:37
Reportersalvador_campanellaView Statuspublic 
Assigned Tosalvador_campanella 
PrioritynormalResolutionunable to reproduceFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR20Q1SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0043617: org.openbravo.retail.sendemail module fails compiling

Descriptionorg.openbravo.retail.sendemail module fails compiling
Steps To Reproduce- In a local environment 20Q1 with retails modules

-copy the module in the modules folder [^]

- Execute the command "ant smartbuild -Dlocal=no"

    [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/ 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/ error: method does not override or implement a method from a supertype
    [javac] @Override
    [javac] ^
    [javac] 2 errors

/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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
plujan (manager)
2021-08-09 14:54

Comment from the developer: [^]

-- 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
Powered by Mantis Bugtracker