<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>I obtain a error when i try to create an object</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120662772" />
  <subtitle>I obtain a error when i try to create an object</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120662772</id>
  <updated>2026-06-20T05:30:37Z</updated>
  <dc:date>2026-06-20T05:30:37Z</dc:date>
  <entry>
    <title>I obtain a error when i try to create an object</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120662771" />
    <author>
      <name>Luis Núñez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120662771</id>
    <updated>2021-03-05T08:59:55Z</updated>
    <published>2021-03-04T23:09:20Z</published>
    <summary type="html">&lt;p&gt;the error is the next. Any solution?&lt;/p&gt;
&lt;p&gt;CT transaction validation failure. Nested operation using
  com.liferay.calendar.service.impl.CalendarResourceLocalServiceImpl@428ae13a
  can only be performed in production mode.&lt;/p&gt;
&lt;p&gt;Caused by:
  com.liferay.portal.kernel.change.tracking.CTTransactionException: CT
  transaction validation failure. Nested operation using
  com.liferay.calendar.service.impl.CalendarResourceLocalServiceImpl@428ae13a
  can only be performed in production mode.&lt;br /&gt;    at
  com.liferay.change.tracking.internal.aop.CTTransactionAdvice.invoke(CTTransactionAdvice.java:102)&lt;br /&gt;  
   at
  com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)&lt;br /&gt;  
   at
  com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)&lt;br /&gt;  
   at com.sun.proxy.$Proxy639.addCalendarResource(Unknown
  Source)&lt;br /&gt;    at
  com.liferay.calendar.service.CalendarResourceLocalServiceUtil.addCalendarResource(CalendarResourceLocalServiceUtil.java:68)&lt;br /&gt;  
   at
  com.liferay.calendar.util.CalendarResourceUtil.getGroupCalendarResource(CalendarResourceUtil.java:103)&lt;br /&gt;  
   at
  com.liferay.calendar.web.internal.util.CalendarResourceUtil.getScopeGroupCalendarResource(CalendarResourceUtil.java:75)&lt;br /&gt;  
   at
  com.liferay.calendar.web.internal.asset.model.CalendarBookingAssetRendererFactory.hasAddPermission(CalendarBookingAssetRendererFactory.java:140)&lt;br /&gt;  
   at
  com.liferay.depot.web.internal.asset.model.DepotAssetRendererFactoryWrapper.hasAddPermission(DepotAssetRendererFactoryWrapper.java:184)&lt;br /&gt;  
   at
  com.liferay.asset.internal.util.AssetHelperImpl.getAddPortletURL(AssetHelperImpl.java:143)&lt;br /&gt;  
   at
  com.liferay.asset.internal.util.AssetHelperImpl.getAssetPublisherAddItemHolders(AssetHelperImpl.java:360)&lt;br /&gt;  
   at
  com.liferay.asset.publisher.web.internal.display.context.AssetPublisherDisplayContext.getScopeAssetPublisherAddItemHolders(AssetPublisherDisplayContext.java:1108)&lt;br /&gt;  
   at org.apache.jsp.view_jsp._jspService(view_jsp:672)&lt;br /&gt;    at
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)&lt;br /&gt;  
   at
  javax.servlet.http.HttpServlet.service(HttpServlet.java:733)&lt;br /&gt;  
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Luis Núñez</dc:creator>
    <dc:date>2021-03-04T23:09:20Z</dc:date>
  </entry>
</feed>
