Email tokens template on V4.2

0
I tried to incorporate the email tokens template in a V4.2 project. But when creating a new template I get the following error: An error has occurred while handling the request. [User 'mxadmin' with roles 'Administrator'] -------- com.mendix.core.CoreRuntimeException: Exception occurred in action '{"amount":5,"sort":[{"direction":{},"memberName":"Token"}],"formName":"EmailTemplate.EmailTemplate_New","returnsCount":true,"offset":0,"type":"RetrieveXPathSchemaRawAction","xpath":"//MxModelReflection.Token[MxModelReflection.Token_EmailTemplate=\"30680772461461605\"]"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.c(SourceFile:515) Caused by: n: An exception has occurred for the following request(s): fu (depth = -1, amount = 5): //MxModelReflection.Token[MxModelReflection.Token_EmailTemplate="30680772461461605"] at x.a(SourceFile:57) Caused by: ii: No access rights for MxModelReflection.Token/MxModelReflection.Token_EmailTemplate [c1mxmodelreflection$token_emailtemplate.emailtemplate$emailtemplateid = 30680772461461605] at ee.a(SourceFile:306) at ee.a(SourceFile:260) at ep.a(SourceFile:1621) at ep.b(SourceFile:1480) at ep.a(SourceFile:1447) at em.x(SourceFile:328) at em.v(SourceFile:265) at em.a(SourceFile:143) at ep.a(SourceFile:1159) at ep.a(SourceFile:1020) at ep.a(SourceFile:631) at ep.a(SourceFile:168) at ep.a(SourceFile:141) at em.D(SourceFile:1018) at em.v(SourceFile:244) at em.a(SourceFile:143) at dA.b(SourceFile:114) at dA.a(SourceFile:84) at dE.a(SourceFile:68) at x.a(SourceFile:43) at h.a(SourceFile:269) at hw.a(SourceFile:118) at hw.a(SourceFile:89) at hw.executeAction(SourceFile:28) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at gE.execute(SourceFile:314) at iW.a(SourceFile:304) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:141) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:133) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:131) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:127) at akka.actor.LocalActorRef.invoke(ActorRef.scala:910) at akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:25) at akka.dispatch.ExecutableMailbox$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:223) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:123) at akka.dispatch.ExecutableMailbox$class.run(ExecutorBasedEventDrivenDispatcher.scala:195) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.run(ExecutorBasedEventDrivenDispatcher.scala:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192) The new template button is a standard new button so I think this is a bug. Will file bugreport in the partner portal. Regards, Ronald
asked
1 answers
0

To me this seems like a security issue rather then a bug. I haven't tried the email module in 4.2 but could you check the rights in the MxModelReflection module?

answered