http://coldfusion.com logo
Join Slack
Powered by
# box-products
  • g

    gpickin

    09/16/2022, 5:37 PM
    ITB Recap - Going live now

    https://youtu.be/l4S-UEF8XIw▾

  • j

    Jason Ryan

    09/19/2022, 6:36 PM
    Regarding TestBox, is there a way to separate my own tests from the source code installed from box? I've been dabbling trying to get this working with no success. I have my own
    specs
    folder with a couple files, and my own
    runner.cfm
    which includes
    /dependencies/testbox/system/runners/HTMLRunner.cfm
    . The problem is that
    HTMLRunner.cfm
    can't resolve
    testbox.system.TestBox
    because the file as a whole is being included inside my own folder. If I'm not mistaken, it would need to instead be referencing
    dependencies.testbox.system.TestBox
    . Is there a standard way to do this that I'm missing? Or perhaps a CFML trick to get the dependency to resolve relative to the cfincluded file? Thanks!
    b
    • 2
    • 2
  • p

    paolo79

    09/20/2022, 10:34 AM
    i installed the fusionreactor module, but the server is running slower and i don't have the registration key. how can i remove it?
  • p

    paolo79

    09/20/2022, 10:40 AM
    i've found here and it worked
  • f

    Formiko

    09/20/2022, 11:13 AM
    Does anyone know when cbgenesis will be released for beta? It sound like a really cool extension
  • j

    joechastain

    09/20/2022, 11:45 AM
    Howdy all. I'm working on some integration tests with Testbox, and I'm wondering if there is any way from within my tests to access the contents of the`args` param from the
    setView
    call in the handler?
    w
    • 2
    • 4
  • g

    gpickin

    09/20/2022, 5:04 PM
    CFML News going live now with Gavin and maybe Brad

    https://www.youtube.com/watch?v=qIpbpe852XQ▾

  • r

    richard.herbert

    09/21/2022, 10:04 AM
    RESTful error handling question: I have the
    invalidHTTPMethodHandler()
    setup in my
    Coldbox.cfc
    to call my base handler, like so,
    invalidHTTPMethodHandler : 'v1:BaseHandler.onInvalidHTTPMethod'
    In there I'd like to call the
    restHandler
    invalidHTTPMethodHandler()
    and tweak it a bit. I started by trying...
    Copy code
    function onInvalidHTTPMethod( event, rc, prc, faultAction, eventArguments ) {
    	coldbox.system.RestHandler.onInvalidHTTPMethod( event, rc, prc, faultAction, eventArguments );
    }
    ...but get Page /views/Authentication/signin.cfm ... not found So how can I capture the framework
    onInvalidHTTPMethod()
    and tweak it to my needs?
  • w

    wil-shiftinsert

    09/21/2022, 1:09 PM
    Is your own basehandler extending from the resthandler?
  • r

    richard.herbert

    09/21/2022, 3:48 PM
    Yes...
    Copy code
    component restHandler {
       ...
    }
    w
    • 2
    • 21
  • n

    nolanerck

    09/21/2022, 4:21 PM
    Can I get a quick sanity check please? relocate() will pass your "rc" scope onto the next event, but it will not pass the "prc" scope onto the next event. Is that correct?
  • e

    elpete

    09/21/2022, 4:49 PM
    Neither.
  • e

    elpete

    09/21/2022, 4:50 PM
    If you want to pass any
    rc
    or
    prc
    variables on, you need to pass the keys to
    persist
  • e

    elpete

    09/21/2022, 4:51 PM
    Copy code
    relocate( event = "foo", persist = "one,two" /* rc.one, rc.two */ );
  • e

    elpete

    09/21/2022, 4:52 PM
    https://coldbox.ortusbooks.com/the-basics/event-handlers/relocating
  • n

    nolanerck

    09/21/2022, 5:18 PM
    @elpete And what are "one,two" Things from RC or PRC?
  • n

    nolanerck

    09/21/2022, 5:18 PM
    and how can we tell?
  • e

    elpete

    09/21/2022, 5:18 PM
    It’s whatever keys you want to persist.
  • e

    elpete

    09/21/2022, 5:19 PM
    So if you only want a few keys from the
    rc
    struct.
  • e

    elpete

    09/21/2022, 5:19 PM
    So if your
    rc
    scope has
    email
    ,
    password
    , and
    rememberMe
    , those are the options you can pass to
    persist
    .
    n
    • 2
    • 5
  • j

    jacek

    09/21/2022, 6:15 PM
    Wondering is anyone stumbled upon a similar issue working with Coldbox's `async().newFuture()`:
    Copy code
    lucee.runtime.exp.NativeException: Can't create file [/[edited]/.CommandBox/server/B18E5DC7678B7F6610D548E1266C7E3B-[edited]/lucee-5.3.9.141/WEB-INF/lucee-web/cfclasses/RPC/V41d6f5ff26589bafd0e9056efd7641284276.class], file already exists
    full stack trace in thread
    b
    e
    • 3
    • 20
  • g

    gpickin

    09/27/2022, 5:02 PM
    CFML News Podcast - going live now!

    https://youtu.be/Lhdpv7y_LPI▾

  • b

    bdw429s

    09/27/2022, 5:07 PM
    https://twitter.com/bdw429s/status/1574807073430425600
  • o

    Ookma-Kyi

    09/27/2022, 6:38 PM
    Hello, I started working on my project and all of a sudden I am getting this error:
    Copy code
    CommandBox> migrate install
    
    
    
    ERROR (5.5.2+00578)
    
    Invalid Syntax Closing [}] not found
    
    
    \modules\commandbox-migrations\models\BaseMigrationCommand.cfc: line 88
    86:         // Check and see if a .cfmigrations.json file exists
    87:         if ( fileExists( "#directory#/.cfmigrations.json" ) ) {
    88:             variables.cfmigrationsInfo = deserializeJSON( fileRead( "#directory#/.cfmigrations.json" ) );
    89:             variables.systemSettings.expandDeepSystemSettings( variables.cfmigrationsInfo );
    90:             variables.cfmigrationsInfoType = "cfmigrations";
    called from \modules\commandbox-migrations\models\BaseMigrationCommand.cfc: line 11
    called from \modules\commandbox-migrations\commands\migrate\install.cfc: line 15
    called from \system\services\CommandService.cfc: line 443
    called from \system\services\CommandService.cfc: line 225
    called from \system\Shell.cfc: line 819
    called from \system\Shell.cfc: line 634
    called from \system\Bootstrap.cfm: line 160
    
    To enable full stack trace, run config set verboseErrors=true
    I tried the following commands and neither fixed the issue:
    install
    migrate init
    migrate install
    migrate down
    migrate up
    Any ideas? None of the files related to migrations has been touched in awhile, so why it would have syntax errors is beyond me.
    b
    • 2
    • 25
  • o

    Ookma-Kyi

    09/28/2022, 2:36 AM
    Quote: v4 brings a new configuration structure and file. This pairs with new features in CFMigrations to allow for multiple named migration managers and new seeding capabilities. Migrations will still run in v4 using the old configuration structure and location, but it is highly recommended you upgrade. Where is the location of the previous configuration located?
  • e

    elpete

    09/28/2022, 3:46 AM
    The previous configuration was in
    box.json
    .
    b
    • 2
    • 1
  • z

    zackster

    09/28/2022, 11:33 AM
    with the growing s3 costs for forgebox, have you considered using cloudflare's R2? https://developers.cloudflare.com/r2/platform/pricing/
    l
    • 2
    • 1
  • k

    Kannan

    09/28/2022, 3:24 PM
    In the contentbox, Do we have option to delete the administrator role users ? Make sure, that user might created any content pages or blog pages in the admin.
  • r

    raymondcamden

    09/29/2022, 7:02 PM
    lame RTFM type question: if i box server start cfengine=adobe, the CLI's going to write that out as a server.json, and if I git pull that on another machine, i can just box server start, right? (i dont care if the CF version is slightly different)
    p
    s
    +2
    • 5
    • 49
  • n

    nolanerck

    09/29/2022, 10:57 PM
    We have a ColdBox app that's running inside the Ortus Docker container. It's being deployed to AWS Fargate. The deployment will (usually) work just fine, and the app starts, but after a few seconds of low-traffic use (1 or 2 users, literally), we get a "503 Service Temporarily Unavailable" or a "503 Bad Gateway" error. Curious if anyone has run into this before? Any suggestions? The app also works just fine locally via "docker-compose up", no errors this way -- the problems seem to be Fargate/AWS specific, or perhaps specific to the Ortus Docker container? We're still doing some R&D to rule things out. Thanks in advance.
    f
    • 2
    • 2
1...141516...30Latest