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

    Adam Cameron

    06/08/2023, 4:11 PM
    What do we think about this:
    Copy code
    nuller = ()=>; // CF: fine; Lucee: Syntax Error, Invalid Construct on line 2
    
    writeDump([isNull(nuller())])
    https://trycf.com/gist/a2d193ecb21c454dbe13d932c6c99c61/lucee5?theme=monokai And, yes, I did actually write code like that. Well actually it was
    nullValue = (()=>)()
    , but it's a similar issue.
    m
    d
    +2
    • 5
    • 13
  • z

    zackster

    06/08/2023, 7:04 PM
    6.0 BETA 2 and 5.4 RC ROADMAP update https://luceeserver.atlassian.net/jira/dashboards/10700
    ⭐ 2
    • 1
    • 3
  • z

    zackster

    06/08/2023, 8:27 PM
    https://twitter.com/zackster/status/1666904749382197257
    😆 2
  • z

    zackster

    06/09/2023, 11:13 AM
    another nice new thing in 6
    👏 3
    👏🏻 1
    b
    a
    • 3
    • 9
  • r

    rodyon

    06/09/2023, 2:30 PM
    Not sure if bug, but got error in project because of that - query by query with aggregates on empty Query gives 1 empty record
    w
    z
    +3
    • 6
    • 39
  • z

    zackster

    06/09/2023, 5:17 PM
    6.0.0.450-SNAPSHOT is looking mighty fine
  • z

    zackster

    06/09/2023, 6:48 PM
    Lucee 6 BETA 2 is out !https://dev.lucee.org/t/lucee-6-0-451-beta-2/12673
  • m

    mjclemente

    06/09/2023, 8:40 PM
    What versions of Lucee are considered "supported"? By supported, I guess I mean that they get bug fixes. Is it basically just 5.3 now? And is there a place where that approach is documented?
    z
    • 2
    • 2
  • s

    Scott Steinbeck

    06/10/2023, 1:40 PM
    Is there a standardized workflow or a built-in function for wanting to upload and rename a file? However, if the file name already exists, then make it unique. It just seems like this happens so often where I need document uploads that may be. There is a one liner that I am unaware of.
    b
    z
    • 3
    • 2
  • z

    zackster

    06/12/2023, 11:29 AM
    https://dev.lucee.org/t/lucee-5-4-0-77-rc-release-candidate-2/12678
  • b

    brettpr

    06/12/2023, 12:45 PM
    @zackster - I can ask - we haven't invested much time in rebuilding the server at the this point, we've just restored to 5.3.10.120 so rerunning the upgrade will just mean another restore if it fails again.
  • z

    zackster

    06/12/2023, 12:46 PM
    ok file a bug anyway plz
  • b

    brettpr

    06/12/2023, 12:48 PM
    will do, just waiting on the information from our SysAdmin...
  • b

    brettpr

    06/12/2023, 1:50 PM
    Ticket is created - LDEV-4550
  • b

    brettpr

    06/12/2023, 1:50 PM
    We attempted to upgrade to 5.4.0.77-RC with the same result as before.
    z
    • 2
    • 2
  • s

    Simone

    06/12/2023, 3:10 PM
    how can i use the cfprocparam type="out" to get the last inserted ID
  • s

    Simone

    06/12/2023, 3:13 PM
    this is how it looks like <cfprocparam type="OUT" cfsqltype="INTEGER" dbvarname="@id"> there seems no complete example on how to this in cfdocs or anywhere
    z
    p
    +2
    • 5
    • 23
  • d

    davla

    06/12/2023, 5:52 PM
    Does anyone know if any changes should be made in order for cfhttp to work with http/2. I have just upgraded to a newer AWS EC2 instance and I am using http/2 rather than http1.1 and all of the sites are working correctly when browsing via a web browser but I have a scheduled task running that makes a cfhttp call that is no longer working.
    Copy code
    <cfscript>
       cfhttp( url="<https://jobs.isc.co.uk>", method="get", result="result" ) {}
    dump(result);
    </cfscript>
    returns an error: Connection Failure: Unknown host: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty. Any ideas? Running on Lucee 5.4.0.74-SNAPSHOT with 11.0.19 Eclipse Adoptium 64-bit. The SSL is attached to the Load Balancer (which hasn’t changed) - I created a new target group and attached the new EC2 and gradually updated the rules to forward traffic to the new EC2 target group.
    b
    z
    d
    • 4
    • 54
  • b

    bhartsfield

    06/12/2023, 6:16 PM
    @jcberquist (or anyone else who might know), I'm not really sure what the best channel is for this so here goes, I'm having an issue with cfformat between Windows and Ubuntu. The app in question is mostly developed by people on Windows and cfformat is working there (using custom .cfformat.json file in the root of the app). All files are formatted and a format --check says everything is in order (on Windows). I set up a github action to run cfformat on pushes and, there, it claims all files need formatting. After some digging, it looks like Ubuntu is ignoring the "tab_indent: true" setting and expects all my tab indents to be 8 spaces. If I turn the setting off, then windows and ubuntu act the same but, of course, it means all those tabs become spaces. ...which I guess is the "fix" if there is no other trick to get around it. Do you know of any settings magic to get tab_indent: true working as expected on Ubuntu? Both Windows and Ubuntu are running commandbox 5.8 and cfformat 0.19.0
    e
    j
    • 3
    • 48
  • z

    zackster

    06/13/2023, 3:59 PM
    let's test the 6.0 beta with a 5.2.1 install with java 1.8.136
    • 1
    • 2
  • z

    zackster

    06/14/2023, 3:57 PM
    So who's been trying out the new 5.4 RC or 6 BETA? I'm here to help or give nice responses to success stories! to get going, it's easy enough to cut a branch and running your CI tests (if you have them) against the latest SNAPSHOT since we published the RC and BETA
  • z

    zackster

    06/14/2023, 8:40 PM
    a lighter lucee light https://luceeserver.atlassian.net/browse/LDEV-4558
    f
    c
    +3
    • 6
    • 12
  • g

    gavinbaumanis

    06/15/2023, 2:33 AM
    I am having a weird issue where my local dev (commandBox) has started complaining that ORM entities are not mapped. The code is identical to our staging server, which is running fine. I have tried multiple versions of Lucee and the Hibernate extension, too. I just cant put my finger on anything that would cause this. I do NOT get any errors when the app loads - (eg if there was a syntax issue in an ORM CFC - Lucee complains, instantly about these sort of issues). If I had to guess - I would say that Lucee isn't actually "seeing" some of the files - despite them being present on disk, in an unchanged location. Anyone got any random thoughts? Thanks!
    e
    b
    m
    • 4
    • 8
  • a

    Adam Cameron

    06/16/2023, 11:07 AM
    Any reason this is not a bug? https://trycf.com/gist/fb06d38cab83e1a65a89fc7d13368b94/lucee5?theme=monokai
    Copy code
    q = queryNew("id","integer", [["NOT_AN_INT"]])
    
    q.addRow(["STILL_NOT_AN_INT"])
    
    q.addRow(1)
    q.setCell("id", "SERIOUSLY_NOT_AN_INT", q.recordCount)
    
    writeDump(q)
    CF, correctly IMO, errors-out on each of those.
    z
    b
    • 3
    • 12
  • z

    zackster

    06/16/2023, 2:32 PM
    what happens to https://rorylaitila.gitbooks.io/lucee/content/closures.html ?
  • m

    Mauro caresimo

    06/16/2023, 2:35 PM
    Just installed Lucee (latest prod version) and used the boncode adapter to connect the website but getting this error: Anyone know why this is happening ? I just create a simple hello world page so no complex code but each time Load the site in the browser I get this:
    z
    w
    +2
    • 5
    • 46
  • m

    Mauro caresimo

    06/16/2023, 3:36 PM
    Rolled back to version lucee-5.2.9.031 and those problems disappear. There must some issues with recent versions of Lucee running on IIS
    s
    z
    +2
    • 5
    • 16
  • z

    zackster

    06/16/2023, 4:50 PM
    https://dev.lucee.org/t/upgrading-custom-server-config-for-lucee-6-gotchas/12704
    👍🏼 1
    👍 1
  • z

    zackster

    06/18/2023, 1:06 PM
    lucee docs now has a lucee 6 engine option I also changed the select to radios, coz i hate dropdowns https://github.com/lucee/lucee-docs/pull/1378
    💪 1
    • 1
    • 1
  • z

    zackster

    06/18/2023, 1:09 PM
    so now you can run this 6 only example i added https://docs.lucee.org/reference/functions/querytostruct.html
    ❤️ 2
1...2829303132Latest