cfdocument not working

Description

When I try to use cfdocument, i got this error below;

lucee.runtime.exp.TemplateException: undefined tag [cfdocument]
at lucee.transformer.cfml.tag.CFMLTransformer.tag(CFMLTransformer.java:556)
at lucee.transformer.cfml.tag.CFMLTransformer.body(CFMLTransformer.java:362)
at lucee.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:302)
at lucee.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:149)
at lucee.runtime.compiler.CFMLCompilerImpl._compile(CFMLCompilerImpl.java:123)
at lucee.runtime.compiler.CFMLCompilerImpl.compile(CFMLCompilerImpl.java:74)
at lucee.runtime.PageSourceImpl._compile(PageSourceImpl.java:357)
at lucee.runtime.PageSourceImpl.compile(PageSourceImpl.java:325)
at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:277)
at lucee.runtime.PageSourceImpl.loadPageThrowTemplateException(PageSourceImpl.java:178)
at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:889)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:903)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:823)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:809)
at officelime.arm.application_cfc$cf.udfCall(/Users/arowolo/dev/www/officelime/arm/Application.cfc:75)
at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105)
at lucee.runtime.type.UDFImpl._call(UDFImpl.java:337)
at lucee.runtime.type.UDFImpl.call(UDFImpl.java:222)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697)
at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580)
at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1902)
at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:422)
at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:223)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2265)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2257)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2225)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:673)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Activity

Show:

Andrew Dixon 27 November 2015 at 21:32

- Ok, see what you mean, good point, will raise a new ticket to cover all tags and functions that will now require extensions in Lucee 5.

Arowolo Abiodun 27 November 2015 at 20:39

- I changed the status of the issue to "incompatibility" because its not compatible with other versions of lucee, railo and ACF.

Say you install ACF, Railo or Lucee 4.x and try to use cfdocument it works

But using Lucee 5.x, you get an error saying "undefined tag cfdocument" - using your explanation above that i need to install the extension it means its not a bug

Also Lucee 5.x should be able to throw a smart error that the "cfdocument" extension need to be installed in order to make of the tag.

Andrew Dixon 26 November 2015 at 20:14

- No problem. Why did you change this tickets type from "bug" to "incompatibility"?

Arowolo Abiodun 26 November 2015 at 20:01

Wow... thats wonderful, thanks Andrew

Andrew Dixon 25 November 2015 at 10:47

- To use cfdocument you need to install the PDF extension for Lucee 5 as all PDF related functions are now in this extension and not the core. The extension is available from inside the admin or from the extension page on the preview site:

http://preview.lucee.org/download/?type=extensions

Cannot Reproduce

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Priority

Created 21 November 2015 at 08:49
Updated 13 August 2019 at 15:19
Resolved 25 November 2015 at 10:47