[4.1.0,4.1.1] The 411 on 4.1.1

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

 

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.

 

So the old code:

 

RelationshipFactory.getRelationshipByRelationTypeValue( x );

 

Is replaced by:

 

RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();

 

relationshipFactory.byTypeValue( x );

 

OR

 

FactoryLocator.getRelationshipFactory().byTypeValue( x );

 

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter

Class path change:

 

OLD:

 

import com.dotmarketing.portlets.structure.factories.RelationshipFactory;

 

NEW:

 

import com.dotcms.contenttype.business.RelationshipFactory;

 

import com.dotmarketing.business.FactoryLocator;

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:20 AM
To: [hidden email]
Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

 

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

 

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.

 

So the old code:

 

RelationshipFactory.getRelationshipByRelationTypeValue( x );

 

Is replaced by:

 

RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();

 

relationshipFactory.byTypeValue( x );

 

OR

 

FactoryLocator.getRelationshipFactory().byTypeValue( x );

 

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter

Actually it looks like a core portlet JSP wasn’t adapted for the change either… I’ll create a ticket.

 

[12/09/17 09:41:09:475 EDT] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:                                                   

 

 

Stacktrace:

org.apache.jasper.JasperException: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:                                                   

 

 

Stacktrace:

            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) ~[jasper.jar:8.0.18]

            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portlet.ext.contentlet.edit_005fcontentlet_jsp._jspService(edit_005fcontentlet_jsp.java:3312) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:595) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:209) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:344) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:319) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:205) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:91) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:148) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:100) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) [dot.portlet-1.0_2.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.render(GenericPortlet.java:163) [dot.portlet-1.0_2.jar:?]

            at com.liferay.portlet.CachePortlet.render(CachePortlet.java:159) [dotcms_4.1.1_999999.jar:?]

            at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:618) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) [catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) [jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1356) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:72) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:142) [dotcms_4.1.1_999999.jar:?]

            at com.dotmarketing.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:51) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:128) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [dot.struts-1.2.4_2.jar:1.2.4]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:?]

            at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:281) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510) [dotcms_4.1.1_999999.jar:?]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135) [dot.secure-filter-ukv_2.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:265) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:152) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:110) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]

            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Class path change:

 

OLD:

 

import com.dotmarketing.portlets.structure.factories.RelationshipFactory;

 

NEW:

 

import com.dotcms.contenttype.business.RelationshipFactory;

 

import com.dotmarketing.business.FactoryLocator;

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:20 AM
To: [hidden email]
Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

 

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

 

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.

 

So the old code:

 

RelationshipFactory.getRelationshipByRelationTypeValue( x );

 

Is replaced by:

 

RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();

 

relationshipFactory.byTypeValue( x );

 

OR

 

FactoryLocator.getRelationshipFactory().byTypeValue( x );

 

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter
It's correct in the "source" branch.

https://github.com/dotCMS/core/blob/4.1.1/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_contentlet_relationships.jsp#L221


I'm wondering if it's incorrect in the distribution I downloaded.


Nathan I. Keiter | Lead Network Applications Programmer | Administrative Advisory Council Member | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu
________________________________
From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>
Sent: Tuesday, September 12, 2017 9:45 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

Actually it looks like a core portlet JSP wasn’t adapted for the change either… I’ll create a ticket.

[12/09/17 09:41:09:475 EDT] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]
Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp
RelationshipFactory cannot be resolved
222:                                            catch(Exception e){
223:
224:                                            }
225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){
226:                                        //continue;
227:                                    }
228:


Stacktrace:
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]
Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp
RelationshipFactory cannot be resolved
222:                                            catch(Exception e){
223:
224:                                            }
225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){
226:                                        //continue;
227:                                    }
228:


Stacktrace:
            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) ~[jasper.jar:8.0.18]
            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]
            at org.apache.jsp.html.portlet.ext.contentlet.edit_005fcontentlet_jsp._jspService(edit_005fcontentlet_jsp.java:3312) ~[?:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]
            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:595) ~[?:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]
            at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:209) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:344) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:319) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]
            at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:205) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:91) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:148) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:100) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) [dot.portlet-1.0_2.jar:?]
            at com.dotcms.repackage.javax.portlet.GenericPortlet.render(GenericPortlet.java:163) [dot.portlet-1.0_2.jar:?]
            at com.liferay.portlet.CachePortlet.render(CachePortlet.java:159) [dotcms_4.1.1_999999.jar:?]
            at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:618) [ROOT/:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) [catalina.jar:8.0.18]
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) [jasper.jar:8.0.18]
            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1356) [ROOT/:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]
            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:72) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:142) [dotcms_4.1.1_999999.jar:?]
            at com.dotmarketing.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:51) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]
            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:128) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [dot.struts-1.2.4_2.jar:1.2.4]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:?]
            at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:281) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510) [dotcms_4.1.1_999999.jar:?]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.repackage.com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135) [dot.secure-filter-ukv_2.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:265) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:152) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:110) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]
            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]
            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]
            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]
            at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]
            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]
            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

Class path change:


OLD:



import com.dotmarketing.portlets.structure.factories.RelationshipFactory;



NEW:



import com.dotcms.contenttype.business.RelationshipFactory;


import com.dotmarketing.business.FactoryLocator;

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:20 AM
To: [hidden email]<mailto:[hidden email]>
Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.


So the old code:



RelationshipFactory.getRelationshipByRelationTypeValue( x );



Is replaced by:



RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();



relationshipFactory.byTypeValue( x );



OR



FactoryLocator.getRelationshipFactory().byTypeValue( x );

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1505224539346.98437%40gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter
Looking at our distribution repository, the file is correct.

For the JSP issue, I think we had a bad GIT pull to the server?  I'll try to clean it up.

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:56 AM
To: [hidden email]
Subject: [dotcms] Re: [4.1.0,4.1.1] The 411 on 4.1.1

It's correct in the "source" branch.

https://github.com/dotCMS/core/blob/4.1.1/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_contentlet_relationships.jsp#L221


I'm wondering if it's incorrect in the distribution I downloaded.


Nathan I. Keiter | Lead Network Applications Programmer | Administrative Advisory Council Member | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu
________________________________
From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>
Sent: Tuesday, September 12, 2017 9:45 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

Actually it looks like a core portlet JSP wasn’t adapted for the change either… I’ll create a ticket.

[12/09/17 09:41:09:475 EDT] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]
Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp
RelationshipFactory cannot be resolved
222:                                            catch(Exception e){
223:
224:                                            }
225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){
226:                                        //continue;
227:                                    }
228:


Stacktrace:
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]
Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp
RelationshipFactory cannot be resolved
222:                                            catch(Exception e){
223:
224:                                            }
225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){
226:                                        //continue;
227:                                    }
228:


Stacktrace:
            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) ~[jasper.jar:8.0.18]
            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]
            at org.apache.jsp.html.portlet.ext.contentlet.edit_005fcontentlet_jsp._jspService(edit_005fcontentlet_jsp.java:3312) ~[?:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]
            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:595) ~[?:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]
            at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:209) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:344) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:319) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]
            at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:205) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:91) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:148) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:100) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) [dot.portlet-1.0_2.jar:?]
            at com.dotcms.repackage.javax.portlet.GenericPortlet.render(GenericPortlet.java:163) [dot.portlet-1.0_2.jar:?]
            at com.liferay.portlet.CachePortlet.render(CachePortlet.java:159) [dotcms_4.1.1_999999.jar:?]
            at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:618) [ROOT/:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) [catalina.jar:8.0.18]
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) [jasper.jar:8.0.18]
            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1356) [ROOT/:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]
            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:72) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:142) [dotcms_4.1.1_999999.jar:?]
            at com.dotmarketing.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:51) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]
            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:128) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [dot.struts-1.2.4_2.jar:1.2.4]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:?]
            at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:281) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510) [dotcms_4.1.1_999999.jar:?]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.repackage.com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135) [dot.secure-filter-ukv_2.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:265) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:152) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:110) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]
            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]
            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]
            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]
            at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]
            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]
            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

Class path change:


OLD:



import com.dotmarketing.portlets.structure.factories.RelationshipFactory;



NEW:



import com.dotcms.contenttype.business.RelationshipFactory;


import com.dotmarketing.business.FactoryLocator;

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:20 AM
To: [hidden email]<mailto:[hidden email]>
Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.


So the old code:



RelationshipFactory.getRelationshipByRelationTypeValue( x );



Is replaced by:



RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();



relationshipFactory.byTypeValue( x );



OR



FactoryLocator.getRelationshipFactory().byTypeValue( x );

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1505224539346.98437%40gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/21b7d6cd1c1b439c9a5cca017b499390%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter
Ok, I figured it out.  We had a hot fix static plugin overwriting the JSP. -> hotfix-GIT-11782_v4.0.1

This is not compatible with 4.1.1 (and possibly no longer needed.)

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu


-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 10:05 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

Looking at our distribution repository, the file is correct.

For the JSP issue, I think we had a bad GIT pull to the server?  I'll try to clean it up.

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:56 AM
To: [hidden email]
Subject: [dotcms] Re: [4.1.0,4.1.1] The 411 on 4.1.1

It's correct in the "source" branch.

https://github.com/dotCMS/core/blob/4.1.1/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_contentlet_relationships.jsp#L221


I'm wondering if it's incorrect in the distribution I downloaded.


Nathan I. Keiter | Lead Network Applications Programmer | Administrative Advisory Council Member | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu
________________________________
From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>
Sent: Tuesday, September 12, 2017 9:45 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

Actually it looks like a core portlet JSP wasn’t adapted for the change either… I’ll create a ticket.

[12/09/17 09:41:09:475 EDT] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]
Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp
RelationshipFactory cannot be resolved
222:                                            catch(Exception e){
223:
224:                                            }
225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){
226:                                        //continue;
227:                                    }
228:


Stacktrace:
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]
Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp
RelationshipFactory cannot be resolved
222:                                            catch(Exception e){
223:
224:                                            }
225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){
226:                                        //continue;
227:                                    }
228:


Stacktrace:
            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) ~[jasper.jar:8.0.18]
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) ~[jasper.jar:8.0.18]
            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]
            at org.apache.jsp.html.portlet.ext.contentlet.edit_005fcontentlet_jsp._jspService(edit_005fcontentlet_jsp.java:3312) ~[?:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]
            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:595) ~[?:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]
            at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:209) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:344) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:319) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]
            at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:205) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:91) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:148) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:100) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) [dot.portlet-1.0_2.jar:?]
            at com.dotcms.repackage.javax.portlet.GenericPortlet.render(GenericPortlet.java:163) [dot.portlet-1.0_2.jar:?]
            at com.liferay.portlet.CachePortlet.render(CachePortlet.java:159) [dotcms_4.1.1_999999.jar:?]
            at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:618) [ROOT/:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) [catalina.jar:8.0.18]
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) [jasper.jar:8.0.18]
            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1356) [ROOT/:?]
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]
            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:72) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:142) [dotcms_4.1.1_999999.jar:?]
            at com.dotmarketing.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:51) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]
            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:128) [dotcms_4.1.1_999999.jar:?]
            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [dot.struts-1.2.4_2.jar:1.2.4]
            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [dot.struts-1.2.4_2.jar:1.2.4]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:?]
            at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:281) [dotcms_4.1.1_999999.jar:?]
            at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510) [dotcms_4.1.1_999999.jar:?]
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.repackage.com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135) [dot.secure-filter-ukv_2.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:265) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:152) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:110) [dotcms_4.1.1_999999.jar:?]
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]
            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]
            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]
            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]
            at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]
            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]
            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:28 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

Class path change:


OLD:



import com.dotmarketing.portlets.structure.factories.RelationshipFactory;



NEW:



import com.dotcms.contenttype.business.RelationshipFactory;


import com.dotmarketing.business.FactoryLocator;

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>

From: [hidden email]<mailto:[hidden email]> [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 9:20 AM
To: [hidden email]<mailto:[hidden email]>
Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.


So the old code:



RelationshipFactory.getRelationshipByRelationTypeValue( x );



Is replaced by:



RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();



relationshipFactory.byTypeValue( x );



OR



FactoryLocator.getRelationshipFactory().byTypeValue( x );

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993
https://www.gettysburg.edu<https://www.gettysburg.edu/>

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]<mailto:[hidden email]>.
To post to this group, send email to [hidden email]<mailto:[hidden email]>.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1505224539346.98437%40gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/21b7d6cd1c1b439c9a5cca017b499390%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4b08583cde9d4181bfcf7c4b72f56352%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter

Looks like the hotfix is still needed for 4.1.1 I'll have to get an updated copy of the fix.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 10:29 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Ok, I figured it out.  We had a hot fix static plugin overwriting the JSP. -> hotfix-GIT-11782_v4.0.1

 

This is not compatible with 4.1.1 (and possibly no longer needed.)

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 10:05 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Looking at our distribution repository, the file is correct.

 

For the JSP issue, I think we had a bad GIT pull to the server?  I'll try to clean it up.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:56 AM

To: [hidden email]

Subject: [dotcms] Re: [4.1.0,4.1.1] The 411 on 4.1.1

 

It's correct in the "source" branch.

 

https://github.com/dotCMS/core/blob/4.1.1/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_contentlet_relationships.jsp#L221

 

 

I'm wondering if it's incorrect in the distribution I downloaded.

 

 

Nathan I. Keiter | Lead Network Applications Programmer | Administrative Advisory Council Member | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

________________________________

From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>

Sent: Tuesday, September 12, 2017 9:45 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Actually it looks like a core portlet JSP wasn’t adapted for the change either… I’ll create a ticket.

 

[12/09/17 09:41:09:475 EDT] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

org.apache.jasper.JasperException: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) ~[jasper.jar:8.0.18]

            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portlet.ext.contentlet.edit_005fcontentlet_jsp._jspService(edit_005fcontentlet_jsp.java:3312) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:595) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:209) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:344) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:319) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:205) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:91) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:148) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:100) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) [dot.portlet-1.0_2.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.render(GenericPortlet.java:163) [dot.portlet-1.0_2.jar:?]

            at com.liferay.portlet.CachePortlet.render(CachePortlet.java:159) [dotcms_4.1.1_999999.jar:?]

            at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:618) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) [catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) [jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1356) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:72) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:142) [dotcms_4.1.1_999999.jar:?]

            at com.dotmarketing.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:51) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:128) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [dot.struts-1.2.4_2.jar:1.2.4]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:?]

            at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:281) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510) [dotcms_4.1.1_999999.jar:?]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135) [dot.secure-filter-ukv_2.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:265) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:152) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:110) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]

            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:28 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Class path change:

 

 

OLD:

 

 

 

import com.dotmarketing.portlets.structure.factories.RelationshipFactory;

 

 

 

NEW:

 

 

 

import com.dotcms.contenttype.business.RelationshipFactory;

 

 

import com.dotmarketing.business.FactoryLocator;

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]> [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:20 AM

To: [hidden email]>

Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

 

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

 

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.

 

 

So the old code:

 

 

 

RelationshipFactory.getRelationshipByRelationTypeValue( x );

 

 

 

Is replaced by:

 

 

 

RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();

 

 

 

relationshipFactory.byTypeValue( x );

 

 

 

OR

 

 

 

FactoryLocator.getRelationshipFactory().byTypeValue( x );

 

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1505224539346.98437%40gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/21b7d6cd1c1b439c9a5cca017b499390%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4b08583cde9d4181bfcf7c4b72f56352%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/79c066f50ae64c5f9b28b678025982fe%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter

So I apologize for the brief rabbit trail. The original concern is still valid:

 

RelationshipFactory has greatly changed in dotCMS 4.1.0/4.1.1 and any OSGI/static plugins using it must be updated.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 11:41 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Looks like the hotfix is still needed for 4.1.1 I'll have to get an updated copy of the fix.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----
From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 10:29 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Ok, I figured it out.  We had a hot fix static plugin overwriting the JSP. -> hotfix-GIT-11782_v4.0.1

 

This is not compatible with 4.1.1 (and possibly no longer needed.)

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 10:05 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Looking at our distribution repository, the file is correct.

 

For the JSP issue, I think we had a bad GIT pull to the server?  I'll try to clean it up.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:56 AM

To: [hidden email]

Subject: [dotcms] Re: [4.1.0,4.1.1] The 411 on 4.1.1

 

It's correct in the "source" branch.

 

https://github.com/dotCMS/core/blob/4.1.1/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_contentlet_relationships.jsp#L221

 

 

I'm wondering if it's incorrect in the distribution I downloaded.

 

 

Nathan I. Keiter | Lead Network Applications Programmer | Administrative Advisory Council Member | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

________________________________

From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>

Sent: Tuesday, September 12, 2017 9:45 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Actually it looks like a core portlet JSP wasn’t adapted for the change either… I’ll create a ticket.

 

[12/09/17 09:41:09:475 EDT] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

org.apache.jasper.JasperException: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) ~[jasper.jar:8.0.18]

            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portlet.ext.contentlet.edit_005fcontentlet_jsp._jspService(edit_005fcontentlet_jsp.java:3312) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:595) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:209) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:344) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:319) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:205) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:91) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:148) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:100) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) [dot.portlet-1.0_2.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.render(GenericPortlet.java:163) [dot.portlet-1.0_2.jar:?]

            at com.liferay.portlet.CachePortlet.render(CachePortlet.java:159) [dotcms_4.1.1_999999.jar:?]

            at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:618) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) [catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) [jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1356) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:72) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:142) [dotcms_4.1.1_999999.jar:?]

            at com.dotmarketing.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:51) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:128) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [dot.struts-1.2.4_2.jar:1.2.4]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:?]

            at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:281) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510) [dotcms_4.1.1_999999.jar:?]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135) [dot.secure-filter-ukv_2.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:265) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:152) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:110) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]

            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:28 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Class path change:

 

 

OLD:

 

 

 

import com.dotmarketing.portlets.structure.factories.RelationshipFactory;

 

 

 

NEW:

 

 

 

import com.dotcms.contenttype.business.RelationshipFactory;

 

 

import com.dotmarketing.business.FactoryLocator;

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]> [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:20 AM

To: [hidden email]>

Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

 

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

 

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.

 

 

So the old code:

 

 

 

RelationshipFactory.getRelationshipByRelationTypeValue( x );

 

 

 

Is replaced by:

 

 

 

RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();

 

 

 

relationshipFactory.byTypeValue( x );

 

 

 

OR

 

 

 

FactoryLocator.getRelationshipFactory().byTypeValue( x );

 

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1505224539346.98437%40gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/21b7d6cd1c1b439c9a5cca017b499390%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4b08583cde9d4181bfcf7c4b72f56352%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/79c066f50ae64c5f9b28b678025982fe%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/0530f6a09e8f4748baa6426e2a4b8cb3%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter

FYI: Plugin seeds have not been updated for 4.1.1, however looking at the maven repository, 4.1.1 is a valid dependency version. I will update my OSGI build.gradle files to use 4.1.1.

https://github.com/dotCMS/plugin-seeds/blob/master/OSGi/com.dotcms.rest/build.gradle#L17 

http://repo.dotcms.com/artifactory/libs-release/com/dotcms/dotcms/4.1.1/ 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 12:00 PM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

So I apologize for the brief rabbit trail. The original concern is still valid:

 

RelationshipFactory has greatly changed in dotCMS 4.1.0/4.1.1 and any OSGI/static plugins using it must be updated.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 11:41 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Looks like the hotfix is still needed for 4.1.1 I'll have to get an updated copy of the fix.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----
From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 10:29 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Ok, I figured it out.  We had a hot fix static plugin overwriting the JSP. -> hotfix-GIT-11782_v4.0.1

 

This is not compatible with 4.1.1 (and possibly no longer needed.)

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 10:05 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Looking at our distribution repository, the file is correct.

 

For the JSP issue, I think we had a bad GIT pull to the server?  I'll try to clean it up.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:56 AM

To: [hidden email]

Subject: [dotcms] Re: [4.1.0,4.1.1] The 411 on 4.1.1

 

It's correct in the "source" branch.

 

https://github.com/dotCMS/core/blob/4.1.1/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_contentlet_relationships.jsp#L221

 

 

I'm wondering if it's incorrect in the distribution I downloaded.

 

 

Nathan I. Keiter | Lead Network Applications Programmer | Administrative Advisory Council Member | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

________________________________

From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>

Sent: Tuesday, September 12, 2017 9:45 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Actually it looks like a core portlet JSP wasn’t adapted for the change either… I’ll create a ticket.

 

[12/09/17 09:41:09:475 EDT] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

org.apache.jasper.JasperException: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) ~[jasper.jar:8.0.18]

            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portlet.ext.contentlet.edit_005fcontentlet_jsp._jspService(edit_005fcontentlet_jsp.java:3312) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:595) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:209) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:344) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:319) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:205) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:91) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:148) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:100) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) [dot.portlet-1.0_2.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.render(GenericPortlet.java:163) [dot.portlet-1.0_2.jar:?]

            at com.liferay.portlet.CachePortlet.render(CachePortlet.java:159) [dotcms_4.1.1_999999.jar:?]

            at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:618) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) [catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) [jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1356) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:72) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:142) [dotcms_4.1.1_999999.jar:?]

            at com.dotmarketing.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:51) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:128) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [dot.struts-1.2.4_2.jar:1.2.4]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:?]

            at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:281) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510) [dotcms_4.1.1_999999.jar:?]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135) [dot.secure-filter-ukv_2.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:265) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:152) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:110) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]

            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:28 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Class path change:

 

 

OLD:

 

 

 

import com.dotmarketing.portlets.structure.factories.RelationshipFactory;

 

 

 

NEW:

 

 

 

import com.dotcms.contenttype.business.RelationshipFactory;

 

 

import com.dotmarketing.business.FactoryLocator;

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]> [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:20 AM

To: [hidden email]>

Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

 

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

 

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.

 

 

So the old code:

 

 

 

RelationshipFactory.getRelationshipByRelationTypeValue( x );

 

 

 

Is replaced by:

 

 

 

RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();

 

 

 

relationshipFactory.byTypeValue( x );

 

 

 

OR

 

 

 

FactoryLocator.getRelationshipFactory().byTypeValue( x );

 

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1505224539346.98437%40gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/21b7d6cd1c1b439c9a5cca017b499390%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4b08583cde9d4181bfcf7c4b72f56352%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/79c066f50ae64c5f9b28b678025982fe%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/0530f6a09e8f4748baa6426e2a4b8cb3%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/94249870e80a4c008365873b886db4f8%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter

Never mind.  Was looking at the wrong branch. Default branch is master.  All is good on 4.1.1 branch.

https://github.com/dotCMS/plugin-seeds/blob/release-4.1.1/OSGi/com.dotcms.rest/build.gradle#L17

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Wednesday, September 13, 2017 9:33 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

FYI: Plugin seeds have not been updated for 4.1.1, however looking at the maven repository, 4.1.1 is a valid dependency version. I will update my OSGI build.gradle files to use 4.1.1.

https://github.com/dotCMS/plugin-seeds/blob/master/OSGi/com.dotcms.rest/build.gradle#L17 

http://repo.dotcms.com/artifactory/libs-release/com/dotcms/dotcms/4.1.1/ 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 12:00 PM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

So I apologize for the brief rabbit trail. The original concern is still valid:

 

RelationshipFactory has greatly changed in dotCMS 4.1.0/4.1.1 and any OSGI/static plugins using it must be updated.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 11:41 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Looks like the hotfix is still needed for 4.1.1 I'll have to get an updated copy of the fix.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----
From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 10:29 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Ok, I figured it out.  We had a hot fix static plugin overwriting the JSP. -> hotfix-GIT-11782_v4.0.1

 

This is not compatible with 4.1.1 (and possibly no longer needed.)

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 10:05 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Looking at our distribution repository, the file is correct.

 

For the JSP issue, I think we had a bad GIT pull to the server?  I'll try to clean it up.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:56 AM

To: [hidden email]

Subject: [dotcms] Re: [4.1.0,4.1.1] The 411 on 4.1.1

 

It's correct in the "source" branch.

 

https://github.com/dotCMS/core/blob/4.1.1/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_contentlet_relationships.jsp#L221

 

 

I'm wondering if it's incorrect in the distribution I downloaded.

 

 

Nathan I. Keiter | Lead Network Applications Programmer | Administrative Advisory Council Member | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

________________________________

From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>

Sent: Tuesday, September 12, 2017 9:45 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Actually it looks like a core portlet JSP wasn’t adapted for the change either… I’ll create a ticket.

 

[12/09/17 09:41:09:475 EDT] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

org.apache.jasper.JasperException: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) ~[jasper.jar:8.0.18]

            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portlet.ext.contentlet.edit_005fcontentlet_jsp._jspService(edit_005fcontentlet_jsp.java:3312) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:595) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:209) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:344) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:319) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:205) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:91) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:148) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:100) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) [dot.portlet-1.0_2.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.render(GenericPortlet.java:163) [dot.portlet-1.0_2.jar:?]

            at com.liferay.portlet.CachePortlet.render(CachePortlet.java:159) [dotcms_4.1.1_999999.jar:?]

            at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:618) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) [catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) [jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1356) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:72) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:142) [dotcms_4.1.1_999999.jar:?]

            at com.dotmarketing.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:51) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:128) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [dot.struts-1.2.4_2.jar:1.2.4]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:?]

            at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:281) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510) [dotcms_4.1.1_999999.jar:?]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135) [dot.secure-filter-ukv_2.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:265) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:152) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:110) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]

            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:28 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Class path change:

 

 

OLD:

 

 

 

import com.dotmarketing.portlets.structure.factories.RelationshipFactory;

 

 

 

NEW:

 

 

 

import com.dotcms.contenttype.business.RelationshipFactory;

 

 

import com.dotmarketing.business.FactoryLocator;

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]> [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:20 AM

To: [hidden email]>

Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

 

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

 

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.

 

 

So the old code:

 

 

 

RelationshipFactory.getRelationshipByRelationTypeValue( x );

 

 

 

Is replaced by:

 

 

 

RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();

 

 

 

relationshipFactory.byTypeValue( x );

 

 

 

OR

 

 

 

FactoryLocator.getRelationshipFactory().byTypeValue( x );

 

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1505224539346.98437%40gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/21b7d6cd1c1b439c9a5cca017b499390%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4b08583cde9d4181bfcf7c4b72f56352%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/79c066f50ae64c5f9b28b678025982fe%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/0530f6a09e8f4748baa6426e2a4b8cb3%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/94249870e80a4c008365873b886db4f8%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/ea8fd65606ea4b12951b5de78e5e1e5a%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: [4.1.0,4.1.1] The 411 on 4.1.1

Nathan Keiter

Similar to the RelationshipFactory, FieldFactory is deprecated in this release (however it still works for the time being.)

 

FieldFactory will be replaced by FieldAPI and fetched form the API locator.

 

FieldAPI fieldAPI = APILocator.getContentTypeFieldAPI();

 

I’m going to proactively update these. J

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Nathan Keiter
Sent: Wednesday, September 13, 2017 9:37 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Never mind.  Was looking at the wrong branch. Default branch is master.  All is good on 4.1.1 branch.

https://github.com/dotCMS/plugin-seeds/blob/release-4.1.1/OSGi/com.dotcms.rest/build.gradle#L17

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Wednesday, September 13, 2017 9:33 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

FYI: Plugin seeds have not been updated for 4.1.1, however looking at the maven repository, 4.1.1 is a valid dependency version. I will update my OSGI build.gradle files to use 4.1.1.

https://github.com/dotCMS/plugin-seeds/blob/master/OSGi/com.dotcms.rest/build.gradle#L17 

http://repo.dotcms.com/artifactory/libs-release/com/dotcms/dotcms/4.1.1/ 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 12:00 PM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

So I apologize for the brief rabbit trail. The original concern is still valid:

 

RelationshipFactory has greatly changed in dotCMS 4.1.0/4.1.1 and any OSGI/static plugins using it must be updated.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 11:41 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Looks like the hotfix is still needed for 4.1.1 I'll have to get an updated copy of the fix.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----
From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter
Sent: Tuesday, September 12, 2017 10:29 AM
To: [hidden email]
Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Ok, I figured it out.  We had a hot fix static plugin overwriting the JSP. -> hotfix-GIT-11782_v4.0.1

 

This is not compatible with 4.1.1 (and possibly no longer needed.)

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 10:05 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Looking at our distribution repository, the file is correct.

 

For the JSP issue, I think we had a bad GIT pull to the server?  I'll try to clean it up.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

 

-----Original Message-----

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:56 AM

To: [hidden email]

Subject: [dotcms] Re: [4.1.0,4.1.1] The 411 on 4.1.1

 

It's correct in the "source" branch.

 

https://github.com/dotCMS/core/blob/4.1.1/dotCMS/src/main/webapp/html/portlet/ext/contentlet/edit_contentlet_relationships.jsp#L221

 

 

I'm wondering if it's incorrect in the distribution I downloaded.

 

 

Nathan I. Keiter | Lead Network Applications Programmer | Administrative Advisory Council Member | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu

________________________________

From: [hidden email] <[hidden email]> on behalf of Nathan Keiter <[hidden email]>

Sent: Tuesday, September 12, 2017 9:45 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Actually it looks like a core portlet JSP wasn’t adapted for the change either… I’ll create a ticket.

 

[12/09/17 09:41:09:475 EDT] ERROR portlet.PortletRequestDispatcherImpl: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

org.apache.jasper.JasperException: Unable to compile class for JSP:

 

An error occurred at line: [154] in the generated java file: [D:\websiteRoot\dotCMSRoot\dotserver\tomcat-8.0.18\work\Catalina\localhost\ROOT\org\apache\jsp\html\portlet\ext\contentlet\edit_005fcontentlet_005frelationships_jsp.java]

Only a type can be imported. com.dotmarketing.portlets.structure.factories.RelationshipFactory resolves to a package

 

An error occurred at line: 225 in the jsp file: /html/portlet/ext/contentlet/edit_contentlet_relationships.jsp

RelationshipFactory cannot be resolved

222:                                            catch(Exception e){

223:

224:                                            }

225:                                                    if(parent && RelationshipFactory.isSameStructureRelationship(rel, targetStructure)){

226:                                        //continue;

227:                                    }

228:

 

 

Stacktrace:

            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:198) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:361) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:336) ~[jasper.jar:8.0.18]

            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:323) ~[jasper.jar:8.0.18]

            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:570) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portlet.ext.contentlet.edit_005fcontentlet_jsp._jspService(edit_005fcontentlet_jsp.java:3312) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) ~[jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:595) ~[?:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) ~[jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) ~[jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ~[servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) ~[catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) ~[catalina.jar:8.0.18]

            at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:209) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doInclude(PortletRequestProcessor.java:344) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.doForward(PortletRequestProcessor.java:319) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.liferay.portal.struts.PortletRequestProcessor.processForwardConfig(PortletRequestProcessor.java:205) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:91) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.include(StrutsPortlet.java:148) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portlet.StrutsPortlet.doView(StrutsPortlet.java:100) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235) [dot.portlet-1.0_2.jar:?]

            at com.dotcms.repackage.javax.portlet.GenericPortlet.render(GenericPortlet.java:163) [dot.portlet-1.0_2.jar:?]

            at com.liferay.portlet.CachePortlet.render(CachePortlet.java:159) [dotcms_4.1.1_999999.jar:?]

            at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:618) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523) [catalina.jar:8.0.18]

            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:934) [jasper.jar:8.0.18]

            at org.apache.jsp.html.portal.layout_005fportal_jsp._jspService(layout_005fportal_jsp.java:1356) [ROOT/:?]

            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) [jasper.jar:8.0.18]

            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) [jasper.jar:8.0.18]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:721) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318) [catalina.jar:8.0.18]

            at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:72) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:142) [dotcms_4.1.1_999999.jar:?]

            at com.dotmarketing.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:51) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.com.oroad.stxx.plugin.StxxTilesRequestProcessor.processForwardConfig(StxxTilesRequestProcessor.java:134) [dot.stxx-1.3_2.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:128) [dotcms_4.1.1_999999.jar:?]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) [dot.struts-1.2.4_2.jar:1.2.4]

            at com.dotcms.repackage.org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) [dot.struts-1.2.4_2.jar:1.2.4]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618) [servlet-api.jar:?]

            at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:281) [dotcms_4.1.1_999999.jar:?]

            at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:510) [dotcms_4.1.1_999999.jar:?]

            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [servlet-api.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:135) [dot.secure-filter-ukv_2.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CMSFilter.doFilter(CMSFilter.java:265) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.filters.interceptor.AbstractWebInterceptorSupportFilter.doFilter(AbstractWebInterceptorSupportFilter.java:73) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.cms.urlmap.filters.URLMapFilter.doFilter(URLMapFilter.java:152) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at com.dotcms.repackage.org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394) [dot.urlrewritefilter-4.0.3_2.jar:4.0.3]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.TimeMachineFilter.doFilter(TimeMachineFilter.java:134) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.ThreadNameFilter.doFilter(ThreadNameFilter.java:90) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CookiesFilter.doFilter(CookiesFilter.java:33) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at com.dotmarketing.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:110) [dotcms_4.1.1_999999.jar:?]

            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:8.0.18]

            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:8.0.18]

            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:8.0.18]

            at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) [catalina.jar:8.0.18]

            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:8.0.18]

            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:516) [catalina.jar:8.0.18]

            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1086) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:659) [tomcat-coyote.jar:8.0.18]

            at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1558) [tomcat-coyote.jar:8.0.18]

            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1515) [tomcat-coyote.jar:8.0.18]

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]

            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.18]

            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email] [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:28 AM

To: [hidden email]

Subject: [dotcms] RE: [4.1.0,4.1.1] The 411 on 4.1.1

 

Class path change:

 

 

OLD:

 

 

 

import com.dotmarketing.portlets.structure.factories.RelationshipFactory;

 

 

 

NEW:

 

 

 

import com.dotcms.contenttype.business.RelationshipFactory;

 

 

import com.dotmarketing.business.FactoryLocator;

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

From: [hidden email]> [[hidden email]] On Behalf Of Nathan Keiter

Sent: Tuesday, September 12, 2017 9:20 AM

To: [hidden email]>

Subject: [dotcms] [4.1.0,4.1.1] The 411 on 4.1.1

 

As an avid plugin developer, I appreciate when we are notified of important changes.  Somehow this didn’t make it into the change logs. (https://dotcms.com/docs/latest/changelogs#release-4.1.0)

 

If you have any OSGI/static plugin that deals with relationships, the very useful “RelationshipFactory” has been refactored. Technically it is now an interface rather than a normal class. All access to the interface is now controlled by the FactoryLocator. Also for reasons unknown, the method signatures have all changed.

 

 

So the old code:

 

 

 

RelationshipFactory.getRelationshipByRelationTypeValue( x );

 

 

 

Is replaced by:

 

 

 

RelationshipFactory relationshipFactory = FactoryLocator.getRelationshipFactory();

 

 

 

relationshipFactory.byTypeValue( x );

 

 

 

OR

 

 

 

FactoryLocator.getRelationshipFactory().byTypeValue( x );

 

Just FYI. If I come across any more unpleasant surprises I’ll post them here.

 

Nathan I. Keiter | Lead Network Applications Programmer | Benefits Advisory Council Member | I.D.E.A Council Member Gettysburg College | Information Technology | DataSystems Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325

Phone: 717.337.6993

https://www.gettysburg.edu<https://www.gettysburg.edu/>

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/f79516c864ec4906a30c87da8ec2946d%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/7daf7936f8f54ffda0ef3e47a7866422%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]>.

To post to this group, send email to [hidden email]>.

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu<https://groups.google.com/d/msgid/dotcms/eef81abb6da348089a425afc14bbc974%40exch13c.ms.gettysburg.edu?utm_medium=email&utm_source=footer>.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/1505224539346.98437%40gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/21b7d6cd1c1b439c9a5cca017b499390%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

 

--

http://dotcms.com - Open Source Java Content Management

---

You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].

To post to this group, send email to [hidden email].

To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/4b08583cde9d4181bfcf7c4b72f56352%40exch13c.ms.gettysburg.edu.

For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/79c066f50ae64c5f9b28b678025982fe%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/0530f6a09e8f4748baa6426e2a4b8cb3%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/94249870e80a4c008365873b886db4f8%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/ea8fd65606ea4b12951b5de78e5e1e5a%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/7ba76fdea0954163a795b17d9d747bd2%40exch13c.ms.gettysburg.edu.
For more options, visit https://groups.google.com/d/optout.