http://coldfusion.com logo
Join Slack
Powered by
# lucee
  • w

    websolete

    06/29/2023, 6:28 PM
    you mean without a catch?
    😆 1
    z
    • 2
    • 3
  • s

    spills

    06/29/2023, 6:48 PM
    IMO, no diff than where simple one-liners make sense.
    Copy code
    if (condition) doSomething();
    b
    z
    +2
    • 5
    • 12
  • z

    zackster

    06/30/2023, 9:34 AM
    who has a some hard core multi table qoq stuff with big tables (rows + cols)?
    e
    • 2
    • 4
  • z

    zackster

    06/30/2023, 12:32 PM
    this time i think it's @bdw429s fault 🙂 https://trycf.com/gist/1bd412e1b3ab5874ed6355ea96915fa8/lucee6-beta?theme=monokai
    • 1
    • 4
  • z

    zackster

    06/30/2023, 3:00 PM
    https://dev.lucee.org/t/optimized-multi-table-qoq/12743
  • b

    bdw429s

    06/30/2023, 6:26 PM
    Has anyone used sftp with Lucee and a private key? I'm trying to figure out what format the private key file needs to be in. Just getting a vague "invalid key" exception
    z
    j
    q
    • 4
    • 23
  • z

    zackster

    07/01/2023, 9:52 AM
    https://dev.lucee.org/t/experimental-optimized-multi-table-data-loading-with-qoq/12743/2 🙂
    👍🏼 1
  • z

    zackster

    07/01/2023, 12:13 PM
    strange path error when including file from outside the webroot https://luceeserver.atlassian.net/browse/LDEV-4601
  • z

    zackster

    07/01/2023, 3:08 PM
    haha just totally rabbit holed it, shaved that yak so hard even @Mark Drew (he/him) would blush started out by trying to create a testcase for stringbuilder for bytecode https://luceeserver.atlassian.net/browse/LDEV-2712 ended up with https://luceeserver.atlassian.net/browse/LDEV-4601 https://luceeserver.atlassian.net/browse/LDEV-4602 https://luceeserver.atlassian.net/browse/LDEV-4603 turns out https://luceeserver.atlassian.net/browse/LDEV-2712 helps a lot, but parsing larger cfml files still does seem to get exponentially slower
    😄 1
  • z

    zackster

    07/01/2023, 4:12 PM
    new board for 6 dev https://luceeserver.atlassian.net/jira/software/c/projects/LDEV/boards/53 here's the sprint palling for 6.1 https://luceeserver.atlassian.net/jira/software/c/projects/LDEV/boards/53/backlog?view=detail&selectedIssue=LDEV-3451&issueLimit=100
  • z

    zackster

    07/01/2023, 4:35 PM
    roadmap update https://dev.lucee.org/t/lucee-roadmap-update/12746
  • z

    zackster

    07/02/2023, 11:24 AM
    https://dev.lucee.org/t/lucee-zero-a-lighter-lucee-light/12749
    🚀 1
    👏 4
    👏🏻 1
    q
    • 2
    • 3
  • r

    rodyon

    07/02/2023, 1:24 PM
    I'd use lightweight Lucee as one .exe binary with optional .json config - to generate static websites or serve small websites. No need for admin and cfdocument cfspreadsheet burden.
    z
    • 2
    • 2
  • r

    richard.herbert

    07/03/2023, 10:38 AM
    I'm getting this error being reported occasionally from v5.4.0.80
    Copy code
    In the OSGi Bundle with the name [esapi.extension] and the version [2.2.4.13] was no class with name [org.lucee.extension.esapi.functions.EncodeForJavaScript] found. org.lucee.extension.esapi.functions.EncodeForJavaScript
    I've traced the elderly code to this block but I'm still not sure what invokes it or what variables contain.
    Copy code
    <cfloop query="qVehicleCategories">
    	<cfset categoryList = categoryList & '"#encodeForJavaScript( qVehicleCategories.CategoryDescription )#^' & encodeForJavaScript( qVehicleCategories.CategoryDescription ) & ' (' & qVehicleCategories.NoVehicles & ')' & '",'>
    </cfloop>
    I've not experienced this type of error before and would like some advice on what the issue might be: • v5.4.0.80 • The install of Lucee itself (CommandBox) • The code (not mine!)
    z
    c
    • 3
    • 24
  • z

    zackster

    07/03/2023, 5:11 PM
    This message contains interactive elements.
    😆 3
    👍🏼 1
  • z

    zackster

    07/03/2023, 7:00 PM
    This message contains interactive elements.
  • c

    Charles Robertson

    07/04/2023, 10:09 AM
    Hi Guys Just wondering whether:
    admin.updateDatasource()
    has the following param for:
    Copy code
    Exclusive Connections For Request
  • c

    Charles Robertson

    07/04/2023, 10:11 AM
    lucee-1.png
  • c

    Charles Robertson

    07/04/2023, 10:53 AM
    So something like:
    Copy code
    exclusiveConnectionsForRequest
  • c

    Charles Robertson

    07/04/2023, 12:09 PM
    Actually, I think the checkbox name is:
    Copy code
    requestExclusive
    z
    • 2
    • 28
  • d

    Dean

    07/04/2023, 11:53 PM
    https://download.lucee.org/ seems to be having a bad day - FYI @zackster
  • z

    zackster

    07/05/2023, 8:07 AM
    yeah, having kittens, it's half back but the versions are all out of order
  • z

    zackster

    07/05/2023, 8:22 AM
    fixed
    👍🏼 1
    👍 2
  • z

    zackster

    07/05/2023, 10:24 AM
    https://dev.lucee.org/t/https-download-lucee-org-is-showing-exception-detailed-cfml-code/12756/3
    👍🏼 2
    👍 3
    b
    • 2
    • 1
  • z

    zackster

    07/05/2023, 1:22 PM
    https://twitter.com/BenNadel/status/1676557823151337473
    👍 2
  • j

    jamiejackson

    07/05/2023, 5:10 PM
    I've got a Lucee instance running on the
    5.4.0.80-light
    docker image. Initially, I get this in the logs:
    Untitled
    z
    r
    • 3
    • 25
  • b

    bdw429s

    07/05/2023, 7:55 PM
    Apache/mod_cfml question. I know I can control the extension which mod_cfml kicks in via the
    CFMLHandlers
    variable.
    Copy code
    CFMLHandlers ".cfm .cfc .cfml"
    However, I'm testing with a setup in which I want ALL TRAFFIC to be proxied to a completely separate server where the actual application files live. This means CFMs AND static files will all be proxied and I need the magic of mod_cfml to fire on every request so the Lucee server knows the correct web root to use for each request. I can't find a way to pass a wildcard to the
    CFMLHandlers
    setting. I've tried passing
    "*"
    ,
    ".*"
    , and even just removing that setting, but mod_cfml will not seem to allow me to trick it into always firing. Any ideas? cc/ @utdream
    z
    a
    g
    • 4
    • 27
  • z

    zackster

    07/06/2023, 7:37 AM
    Fixed two QoQ bugs with 5.4 and 6.0 (speedy turnarounds!) https://luceeserver.atlassian.net/browse/LDEV-4615 https://luceeserver.atlassian.net/browse/LDEV-4592
    👍 1
    ⭐ 1
  • p

    Peter Bennett

    07/06/2023, 1:56 PM
    Hi, at the end of last week we had an incident where our Lucee instance was reinitialising itself several times. We are running cfwheels. In the logs, it looks like lucee.runtime.config.XMLConfigWebFactory java.lang.NullPointerException was related to a call to updateLogSettings in /Application.cfc:98, which is the code below: Has anyone else encountered this issue before? admin.updateLogSettings( name = arguments.name, level = arguments.level, appenderClass = "lucee.commons.io.log.log4j2.appender.ResourceAppender", layoutClass = "lucee.commons.io.log.log4j2.layout.ClassicLayout", appenderArgs = { maxfiles = 20, maxfilesize = 1073741824 } ) 2023-06-30 143833.557 lucee.runtime.config.XMLConfigWebFactory /resource/context/lucee-doc.lar 2023-06-30 143833.557 lucee.runtime.config.XMLConfigWebFactory /opt/lucee/web/context/lucee-doc.lar 2023-06-30 143833.557 lucee.runtime.config.XMLConfigWebFactory java.lang.NullPointerException at org.apache.felix.framework.BundleRevisionImpl.getResourceLocal(BundleRevisionImpl.java:506) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1537) at org.apache.felix.framework.BundleWiringImpl.getResourceByDelegation(BundleWiringImpl.java:1386) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.getResource(BundleWiringImpl.java:2434) at java.base/java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1737) at java.base/java.lang.Class.getResourceAsStream(Class.java:2650) at lucee.runtime.config.XMLConfigWebFactory.createFileFromResourceCheckSizeDiff(XMLConfigWebFactory.java:1137) at lucee.runtime.config.XMLConfigWebFactory.createFileFromResourceCheckSizeDiffEL(XMLConfigWebFactory.java:1118) at lucee.runtime.config.XMLConfigWebFactory.createContextFiles(XMLConfigWebFactory.java:1229) at lucee.runtime.config.XMLConfigWebFactory.reloadInstance(XMLConfigWebFactory.java:335) at lucee.runtime.config.XMLConfigAdmin._reload(XMLConfigAdmin.java:327) at lucee.runtime.config.XMLConfigAdmin.storeAndReload(XMLConfigAdmin.java:305) at lucee.runtime.tag.Admin.store(Admin.java:5240) at lucee.runtime.tag.Admin.doUpdateLogSettings(Admin.java:4712) at lucee.runtime.tag.Admin._doStartTag(Admin.java:721) at lucee.runtime.tag.Admin.doStartTag(Admin.java:355) at org.lucee.cfml.administrator_cfc$cf.udfCallc(/org/lucee/cfml/Administrator.cfc:1993) at org.lucee.cfml.administrator_cfc$cf.udfCall(/org/lucee/cfml/Administrator.cfc) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350) at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:698) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:585) at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1951) at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866) at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1792) at application_cfc$cf.udfCall(/Application.cfc:98) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350) at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213) at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:804) at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866) at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1792) at application_cfc$cf.udfCall(/Application.cfc:77) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:218) at lucee.runtime.type.EnvUDF.call(EnvUDF.java:109) at lucee.runtime.functions.closure.Each._call(Each.java:214) at lucee.runtime.functions.closure.Each.invoke(Each.java:170) at lucee.runtime.functions.closure.Each._call(Each.java:89) at lucee.runtime.functions.closure.Each.call(Each.java:66) at lucee.runtime.functions.arrays.ArrayEach._call(ArrayEach.java:51) at lucee.runtime.functions.arrays.ArrayEach.call(ArrayEach.java:38) at lucee.runtime.functions.arrays.ArrayEach.invoke(ArrayEach.java:67) at lucee.runtime.interpreter.ref.func.BIFCall.getValue(BIFCall.java:134) at lucee.runtime.type.util.MemberUtil.call(MemberUtil.java:126) at lucee.runtime.type.util.ArraySupport.call(ArraySupport.java:322) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1773) at application_cfc$cf.udfCall(/Application.cfc:77) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223) at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:786) at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787) at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1773) at events.onapplicationstart_cfm$cf.call(/events/onapplicationstart.cfm:10) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1054) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:946) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:927) at wheels.global.cfml_cfm$cf.udfCall1(/wheels/global/cfml.cfm:111) at wheels.global.cfml_cfm$cf.udfCall(/wheels/global/cfml.cfm) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350) at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:213) at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:804) at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:866) at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1792) at wheels.events.onapplicationstart_cfm$cf.udfCall(/wheels/events/onapplicationstart.cfm:398) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:350) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:223) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:697) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:585) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1932) at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:444) at lucee.runtime.listener.ModernAppListener.onApplicationStart(ModernAppListener.java:306) at lucee.runtime.PageContextImpl.initApplicationContext(PageContextImpl.java:3165) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:122) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2490) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2476) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2447) at lucee.runtime.engine.Request.exe(Request.java:45) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1198) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1144) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
    z
    b
    +2
    • 5
    • 47
  • z

    zackster

    07/06/2023, 3:08 PM
    what do you expect this to return? qry = queryNew( 'col', 'varchar', [['foo'],['bar']] ); var actual = QueryExecute( sql = " SELECT rand(3) rand, rand() rand2, rand() rand3 FROM qry", options = { dbtype: 'query' } );
    d
    b
    • 3
    • 4
1...2829303132Latest