Audittrail Module Java Error after upgrade to 9.24.31

0
Hi all,   I've recently upgraded an app to 9.24 and the only issue I am left with is the following error when trying to run the solution.    Documents\Mendix\MOR-main\javasource\audittrail\log\diff_match_patch.java:1806: warning: [dep-ann] deprecated item is not annotated with @Deprecated  public LinkedList<Patch> patch_make(String text1, String text2,                           ^\Documents\Mendix\MOR-main\javasource\filehandling\actions\GetImageDimensions.java:37: error: cannot find symbol        BufferedImage bimg = ImageIO.read(Core.getImage(getContext(), this.ImageParameter1.getMendixObject(), false));                                                                          ^  symbol: variable ImageParameter1Note: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: Some input files use unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.1 error1 warning FAILURE: Build failed with an exception. * What went wrong:Execution failed for task ':compile'.> Compilation failed; see the compiler error output for details. * Try:> Run with --scan to get full insights. BUILD FAILED in 23s   I have ran the Mendix cleaner for the userlib folder.  I've looked at files that are still there but wouldn't know which ones to delete.   Not sure if this is an issue with the Audittrail module specifically or something else.   Any ideas?
asked
1 answers
0

Hi Ben,

 

When upgrading from Mendix 8 to 9, the option to use legacy parameters is dropped. This means that the Java code probably needs to be updated, as ImageParameter1 is not available anymore.

You could do this yourself, or check if you can update the AuditTrail module from the Marketplace. Verify during deployment if your entities are untouched, otherwise the whole goals of AuditTrail might be gone.

 

Good luck!

Johan

answered