Getting cannot assign a value to final variable plainbody error while upgrading to mendix 10.18.4 from 9.24.6 for email module
0
C:\Mendix Upgrade\SSM New\javasource\emailtemplate\actions\SendEmail.java:199: error: cannot assign a value to final variable PlainBody this.PlainBody = ConvertHTMLBodyToPlainText.removeHTML(this.HtmlBody); ^Note: 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 error 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 8s
asked
Priyanka Gadikar
1 answers
0
This forum post has the same issue - you're recommended to upgrade to the newer e-mail module, but if you don't want to, the forum post also discusses a way to make the template module still function in Mendix 10.