iCalendar and Google Maps modules conflict

Hi, It seems to me, as non-Java coder, that the modules iCalendar and Google Maps conflict when used in the same project. One of the two works fine but when you add both, this is what happens: Buildfile: D:\MendixProjects\My First App\deployment\build_core.xml compile: [javac] Compiling 3 source files to D:\MendixProjects\My First App\deployment\run\bin [javac] D:\MendixProjects\My First App\javasource\icalendarmodule\actions\Appointment_SendNotification.java:232: error: cannot find symbol [javac] location = new Location( this.Location ), [javac] ^ [javac] symbol: variable Location [javac] Note: D:\MendixProjects\My First App\javasource\com\mendix\core\Core.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 error BUILD FAILED D:\MendixProjects\My First App\deployment\build_core.xml:27: Compile failed; see the compiler error output for details. Total time: 1 second What can I do to get this solved? Regards, Paul
1 answers

Replace the word




to get

location    = new Location( this.LocationParameter1 ),

on line 232 of Appointment_SendNotification.java.

Reason: if you have an entity Location in your model and a parameter Location in a java-action the parameter Location is internally Replaced with LocationParameter1 to prevent naming conflicts. This may happen will all javaactions.

In general the parameters should be written in lowercase and an entity should start with a capital.