http://coldfusion.com logo
Docs
Join the conversationJoin Slack
Channels
adobe
advent-of-code
auwcl
aws
books
bot-dev
box-products
cfeclipse
cfkrauts
cflint
cfml-beginners
cfml-general
cfml-tuning
cfsummit2022
cfwheels
ci
community_courses
css
devops-general
docker
docker-commandbox
documentation
events
friday-puzzle
fusion-reactor
fw1
ide
java-and-jvm
javascript
jobs
jobs-non-us
linen-dev
lucee
masacms
meta
migrations
mura
music
nosql
object-oriented
orm
perf-monitor
prog-general
slack-help
sql
taffy
testing
version-control
vuejs
water-cooler
Powered by Linen
documentation
  • s

    saghosh

    09/05/2022, 2:16 PM
    Saw those, Adam. I was away for a while, couldn't get to them. I'll update the channel.
  • s

    saghosh

    09/05/2022, 2:16 PM
    Thanks Adam.
  • m

    Mark Takata (Adobe)

    09/05/2022, 2:19 PM
    Adam, just so you're aware, Saurav does ping me internally when items are finished also. Your efforts here are both useful and appreciated. Our documentation content has been improving with the help of folks such as yourself, and I do want to thank you specifically for your ongoing, tireless work. Too bad you're probably not going to be at Summit or I'd buy you a beer. 🙂
  • a

    Adam Cameron

    09/05/2022, 2:23 PM
    One day pal. One day.
  • a

    Adam Cameron

    09/08/2022, 6:09 PM
    @saghosh on https://helpx.adobe.com/coldfusion/using/whats-new.html, where's the "Property Shorthand" link supposed to go to?

    https://i2.paste.pics/f4db667e88ea7160d08f0d339d441dcb.png▾

    The underlying markup is just:
    <a disablelinktracking="false" daa-level="4" daa-lh="20" daa-ll="Property shorthand">Property shorthand</a>
    ??
    p
    s
    5 replies · 3 participants
  • m

    Mark Takata (Adobe)

    10/10/2022, 6:50 PM
    Pasting here so we have a record: https://cfml.slack.com/archives/C06TABBT8/p1665166553466949
  • m

    mtbrown

    10/10/2022, 8:07 PM
    So I opened this documentation bug over a month ago and I'm not sure it's been looked at yet https://tracker.adobe.com/#/view/CF-4215070 cc @Mark Takata (Adobe) @saghosh
    ➕ 1
    s
    3 replies · 2 participants
  • a

    Adam Cameron

    10/12/2022, 11:49 AM
    @saghosh the link to "System functions" on https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-e-g/getdirectoryfrompath.html is broken.
    s
    3 replies · 2 participants
  • m

    mtbrown

    10/13/2022, 4:18 PM
    Re: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/isdateobject.html Under History, it says that for CF2018 "Changed parameter name value to _dateobject_" Shouldn't the parameter name in the documentation be changed then?
    m
    s
    14 replies · 3 participants
  • z

    zackster

    10/18/2022, 1:04 PM
    THE THREAD-LOCAL SCOPE These two lines are equivalent, with one exception: If you use the var keyword, the assignment code must immediately follow the cfthread tag, before any other CFML tags. https://helpx.adobe.com/coldfusion/developing-applications/developing-cfml-applications/using-coldfusion-threads/using-thread-data.html is that still true or just cruft from the bad old days when var had to be at the start of a function?
    m
    s
    2 replies · 3 participants
  • c

    cfvonner

    10/20/2022, 4:05 PM
    @saghosh should "static" be added to the Reserved Words list for ColdFusion: https://helpx.adobe.com/coldfusion/developing-applications/the-cfml-programming-language/elements-of-cfml/reserved-words-in-coldfusion.html ?
    a
    m
    +1
    12 replies · 4 participants
  • g

    GVJustDOIT

    11/09/2022, 1:41 AM
    Hi Guys, Had a very strange bug with CF 2021. The query of the query returned the below error:
    Index 30 out of bounds for length 30
    It worked when I removed the ORDER BY clause and again it is working If I change the ORDER BY clause in upper case. Are there any JVM settings to avoid these kinds of issues when upgrading to CF 2021?
    m
    5 replies · 2 participants
  • a

    Adam Cameron

    11/11/2022, 1:44 PM
    The docs for https://helpx.adobe.com/uk/coldfusion/using/coldfusion-iterators.html (and anything like this sort of page) needs to clearly and up-front identify which version of CF the feature was added in. (cc @satauros) @saghosh I guess.
    👍 2
  • z

    zackster

    11/18/2022, 6:04 PM
    Would be cool if Adobe added opengraph headers for their docs! https://dev.lucee.org/t/filegetmimetype-doesnt-throw-an-error-when-the-file-does-not-exist-or-is-empty/11500
  • m

    Mark Takata (Adobe)

    12/01/2022, 6:38 PM
    @saghosh https://cfml.slack.com/archives/C06TABBT8/p1669919173737409 mentions https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-f/cffile.html which seems to have some serious issues with formatting. There's }} and {{ in off places. @Jim Priest if you have more details on what you'd like fixed, please post here in thread.
    👍 1
    j
    s
    2 replies · 3 participants
  • m

    Mark Berning

    12/06/2022, 12:57 PM
    I was looking at QueryEach, QueryFilter, QueryMap and the PARALLELIZATION example sections in each of them are saying they are using parallel options but are not and are missing (I think there is only one example that actually uses
    parallel=true
    in all of the pages and sections). https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/queryeach.html#UsingparallelizationExample1 https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/queryfilter.html#Usingparallelization https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/querymap.html#Usingparallelization
  • a

    Adam Cameron

    12/06/2022, 5:52 PM
    @Mark Takata (Adobe) / @saghosh it's 2022 and you are still recommending use
    <cfform>
    etc for a basic HTML form in the docs?! https://helpx.adobe.com/coldfusion/developing-applications/requesting-and-presenting[…]retrieving-and-formatting-data/using-forms-in-coldfusion.html
    :head-desk: 6
    m
    s
    3 replies · 3 participants
  • m

    Mark Berning

    12/14/2022, 2:53 PM
    The QueryEach function is missing from here https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r.html
    r
    m
    +1
    4 replies · 4 participants
  • m

    Mark Berning

    12/15/2022, 3:29 PM
    Another thing I noticed about QueryEach and QueryMap (and possibly other functions) is that if you don't specify the maxThreadCount, it will not run in parallel. Even though there is a default in CF Administration of 10 and parallel is set to true, it will not run in parallel without a maxThreadCount value.
  • m

    Mark Berning

    12/20/2022, 9:42 PM
    Looking at the
    uploadDirectory
    function https://helpx.adobe.com/coldfusion/using/integrate-coldfusion-amazon-s3.html In the code example, how does it know what bucket to upload to? In the example it creates the bucket but never refers to it.
    <cfscript> 
        storageService = getCloudService(application.awsCred,application.s3Conf) 
        // create a bucket 
        createBucketRequest = { 
            "acl":"PRIVATE", 
            "bucket" : "bucket.b.four", 
            "objectLockEnabledForBucket" : true 
        } 
        bucketObj=storageService.createBucket(createBucketRequest) 
        // define request parameters for upload 
        dirUploadReq = { 
            "prefix" : "test_bulk\", 
            "sourceDirectory" : "../files", 
            "uploadNestedDirectory" : true 
        } 
        try{ 
            uploadResponse=storageService.uploadDirectory(dirUploadReq) 
            writeOutput("Directory uploaded successfully") 
            writeDump(uploadResponse) 
        } 
        catch(any e){ 
            writeDump(e) 
        } 
      </cfscript>
  • a

    Adam Cameron

    12/23/2022, 5:15 PM
    @saghosh https://tracker.adobe.com/#/view/CF-4216344 "rereplace docs not updated to reflect the replacement callback option"
  • m

    Mark Takata (Adobe)

    02/03/2023, 12:40 AM
    https://cfml.slack.com/archives/C1QB85ZJ5/p1675381744770989?thread_ts=1675375688.860789&amp;cid=C1QB85ZJ5
    a
    4 replies · 2 participants
  • a

    Adam Cameron

    02/21/2023, 7:53 PM
    @saghosh parsing error on this - https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/isdefined.html - where it talks about "Passing an array entry, such as myArray3 " should read "Passing an array entry, such as myArray[3]".
  • a

    Adam Cameron

    02/21/2023, 7:54 PM
    @saghosh
    arrayIsDefined
    is omitted from https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-by-category/decision-functions.html.
  • m

    Mark Takata (Adobe)

    02/21/2023, 8:13 PM
    In addition, that myArray3, the "3" is a link to https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/isdefined.html for some reason
  • a

    Adam Cameron

    02/21/2023, 8:14 PM
    Yeah that's what I meant about parsing error. It's been parsed as some sort of special text format at some point, and the
    []
    has been replaced with
    <a></a>
    .
  • m

    Mark Takata (Adobe)

    02/21/2023, 9:53 PM
    OH! Sorry mate, thought you meant the code we were showing resulted in a parsing error. Been a long week.
  • a

    Adam Cameron

    02/21/2023, 10:18 PM
    Nah I wasn't very clear.
    ❤️ 1
  • a

    Adam Cameron

    02/27/2023, 9:18 PM
    @saghosh / @Mark Takata (Adobe) https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-c-d/CallStackGet.html First sentence: "Returns an array of structs". No. It doesn't. It returns an ArrayList. https://trycf.com/gist/2232d3ae3dd1f5be234b10b72329b98d/acf2021?theme=monokai Why does this matter? Some built-in CFML array functions don't work with ArrayLists EG: https://trycf.com/gist/64dc69d09d20e9d2152187ae1d56c2c6/acf2021?theme=monokai (why? Dunno; your problem) So the docs are wrong. But also the function is wrong. ArrayLists are not a thing in CFML. A built-in CFML function should not be returning an ArrayList. It should be returning a coldfusion.runtime.Array.
    1 reply · 1 participant
  • s

    saghosh

    02/28/2023, 2:52 AM
    Thanks Adam. Please check the docs tomorrow.
Powered by Linen
Title
s

saghosh

02/28/2023, 2:52 AM
Thanks Adam. Please check the docs tomorrow.
View count: 1