search : snippets

select a category, or use search below
(searches all categories and all time range)

displaying top 100 results

Bootstrap Size Snippet
2608114 CF-4189738 External U. Look in the comment below. Hw put the snippets there.
2609649 CF-3815793 Vamseekrishna N. Thanks Jork for attaching the code snippet promptly
Using Snippets in CF Builder
2608114 CF-4189738 S P. Hi Jay Could you share a snippet of the code with which you are facing this issue. Thanks!
2608598 CF-4051769 S P. Can you please share the sample code snippet for reproducing the issue and also the exception stack trace. Thanks!
2608634 CF-4042294 External U. Here is a code snippet: Test à This returns a pdf with a ? as the only character.
2609018 CF-3946143 Akhila K. Please provide code snippet to repro the case. The sample code provided in the above mentioned link is not sufficient. Thanks.
2609317 CF-3859383 Akhila K. Please provide us test code snippet to repro the case. Thanks.
2609505 CF-3840754 S V. Bingo, i was about to comment with a code snippet, then i have seen your comment. Thanks Aaron :)
2609508 CF-3840570 Vamseekrishna N. We see some votes here, are these code snippets not working with Update 5 (PR)?
2613209 CF-3339107 Adobe D. @fstocker1 Can you please provide sample pdf and code snippet? Thanks (Comment added from ex-user id:vnigam)
2613209 CF-3339107 External U. Code SNippet sample PDF: www.direct-jobs.ch/abm.pdf -frank
2682631 CFB-3806157 External U. here is a snippet: the has the problem message "missing ; before statement"
2672684 CF-4177585 Nimit S. Jonathan, I have tried the code snippet shared in this bug and it works fine with ColdFusion 2016 Update 2. Please share the details mentioned below: 1. ColdFusion Settings Summary [CF Admin > Server Settings > Settings Summary > Save As PDF] 2. Complete code snippet
2596918 CF-3418667 Adobe D. Hi, From the given snippet,I tried to reproduce the bug but I wasnt able to Can you please take a look at the snippet and let me know if I missed anything. Thanks Viny (Comment added from ex-user id:vnigam)
2597090 CF-3122719 External U. I have added 4 attachments. "500-snippet.txt" results in "500-result.txt" "cf-error-snippet.txt" results in "cf-error-result.txt" the result files have a complete stack trace
2597090 CF-3122719 External U. Added 2 more attachments (don't mind the filenames): cf-error-result-cfm.txt : The cfm code snippet that returns in the same situation as described a different error. Basicly the same code snippet, but in a cfm instead of cfc. cf-cfm.txt : The result error
4717680 CF-4203278 S P. Hi Yuliang Ruan, I ran the test code snippet present in the try-catch block, I do not see an exception. Also ran code snippets for xmlparse and xmlsearch, I do not see the issue. Could you tell me the location of your testcase and the webroot of your server. Also
5394853 CF-4204046 Nimit S. Hi Travis, I have tried it with Oracle12c, MySQL 5.6 and MS SQL Server 2016. It is working as expected. Create Table Snippet: {code:java} create table table_test1 (name_test varchar(20)) {code} CFML Code Snippet: {code:java} {code}   Can you try reproducing
Comment on Bootstrap Size Snippet by Grae Desmond
3521767 CF-4199795 S P. Hi Chris, Please share a code snippet where you are hitting the issue, so that we will be able to narrow it down and debug the issue. Thanks!
2672505 CF-4194557 Nimit S. Hello, I have tried replicating this issue but unfortunately, I am unable to repro it. Please share the SQL query and code snippet to repro this issue.
2608114 CF-4189738 External U. Hi S. Preethi, If you'd like, I can attach the full file with our changes in addition to the previously included snippets. Please let me know. Thanks, Jay
2608229 CF-4160040 Subir J. George, Thanks for the information you provided. Please attach a code snippet which will help us to reproduce the issue. Regards Subir
2673465 CF-4126521 Mayur J. @Akhila I tried in my local environment on CH2016, please provide a snippet where this issue can be reproduced.
2608634 CF-4042294 Nimit S. Hi Roberto, I have tried using "à" and I am able to print pdf without any issue. Please provide below mentioned information: 1. Settings summary 2. Code snippet
2608768 CF-4009541 Mayur J. Please try to use the attribute autosize="false" Here is the code snippet SpreadsheetSetActiveSheetNumber (sheetObj, 2);
2609173 CF-3916188 S V. Hi Aaron, we are able to repro the issue using the given code snippet by placing it in application.cfc body (outside of functions).
2609215 CF-3910529 Suchika S. We have attached a code snippet that is similar to the one reported in this bug. This seems to work fine for us.Let us know if there is anything specific that we are missing.
2609299 CF-3861026 Akhila K. The information provided is not sufficient to repro the case. Please provide some code snippet to repro. Also let us know about how is InitializeReport() used. Thanks.
2609488 CF-3843352 Piyush K. Taninbk, Do you have the selectmode attribute set to any value? Do you see a change in the the behavior from a previous version of CF? Perhaps you can share the relevant code snippet.
2609737 CF-3788414 External U. Hey Tim, from your code snippet: you're missing a comma between your arguments there. That's why yer getting the error.
2609773 CF-3777274 Immanuel N. Marking as Not a Bug The below snippet works as expected in ColdFusion 10 Update 13. #URL.foo# #URL["foo"]#
2612358 CF-3518906 Awdhesh K. Above code snippet spits out the required js code to client. Does not seem to be a generic issue. Test with websocket accessed within an iframe or similar stuff and report the issue if there is any.
2612402 CF-3515644 Akhila K. Unable to repro the issue. With the provided test code snippet when ran on latest CF build, cfhttp.filecontent seems good. Tested this with CF10+java 1.6 as well.
2613077 CF-3346538 Akhila K. When tried to create a phonegap application, with the below code snippet, we were able to create it successfully : In "index.html" : From title.. Hello World!!!
2613484 CF-3307999 Akhila K. We could not reproduce this issue, so please provide more details on this. Code snippet causing this issue and stack trace of this error/exception will help us to resolve.
5681472 CF-4204286 Mukesh K. Hi Andy, Could you try the same code in ColdFusion server and checked that VerifyDSN works ? Also, Can you share the code snippet which you are trying ?   - Mukesh
2608229 CF-4160040 Subir J. Robert, I have tested it on both Coldfusion 10 update 19 and Coldfusion 10 Final with Windows Server 2012 R2 and IE 11.0.960.16436 We are unable to reproduce the bug with the code snippet provided below alert
SauravGhosh CFFiddle- Code, test, and share your ColdFusion code on the go! With CFFiddle you can code and share your code snippets with others on the go, anytime and every time. You can use CFFiddle to achieve the following: Bugs: If you encounter any language-related bug, you can share
2922762 CF-4198399 Language Samuel Knowlton Chaining Elvis operators fails in ACF11 Problem Description: Using more than one elvis operator in a statement with a failsafe option produces UNDEFINED rather than the failsafe option. This works correctly in ACF11. Steps to Reproduce: (code snippets
those snippets with us or point it in the documentation so that they can get fixed. Looking at the code snippets, it is evident that the code written is not correct and please note that they are not the same as the ones given in the documentation. They are your modifications. The function returned
snippet for elvis, you will see the same undefined error-   myStruct = { foo = 'bar' }; values = myStruct.value ?: [myval]; writedump (values);     snippet2: without elvis and ternary operator usage, here also you will get the same error.   myStruct = \{ foo = 'bar' } ; values = ""; if
Kumar Mukesh

Hi aliciam29605858,

Can you please share the sample code snippet to me at mukumar@adobe.com for which are you facing the issue?

Thanks,

Mukesh

2609109 CF-3928953 Charting/Graphing : Server ext-user CFCHART: chart is not visible when set the background color Code snippet: Actual: green color appears in the chart background but chart does not appear in foreground Expected: chart should show. ----------------------------- Additional
2609267 CF-3863493 Charting/Graphing : Server ext-user CFChart: format="png" does not show the background image in developer edition when given as url or absolute path Code snippet: image as url image as absolute path This works in CF10
2609268 CF-3863490 Charting/Graphing : Server ext-user CFChart: format="flash" does not show chart when absolute path of the image is given as background image Code snippet: Expected: Chart should render Actual: This shows Loading data. Wait
2609384 CF-3851922 Language : Datastructure ext-user Elvis: operator does not maintain case sensitivity Code snippet: #"A"?:"B"# Expected: "A" Actual: "a" ----------------------------- Additional Watson Details ----------------------------- Watson Bug ID: 3851922 External Customer Info
2609416 CF-3849389 Charting/Graphing : Server ext-user cfchart: set to datalabelstyle to columnlabel or pattern has issue for pie chart Code snippet: Expected: should show items Actual: Doesnt show items. ----------------------------- Additional Watson Details
2609418 CF-3849267 Charting/Graphing : Server ext-user cfchart : set showLegend attribute to true does not show legend on chart. Code snippet: Expected: Should show legend Actual: Legend is not shown ----------------------------- Additional Watson Details
2609427 CF-3848704 Charting/Graphing : Server ext-user CFChart : provide value to legend attribute when showlegend="no" shows legend box Code snippet: Expected: Should not show the legend box Actual: Shows the legend box ----------------------------- Additional Watson
2610211 CF-3719271 Language : Functions ext-user String : REFind: method throws exception The following method throws exception REFind: Code snippet: Expected: 13 Actual: Exception is thrown: "Parameter validation error for the refind function. The function accepts 2 to 3 parameters
2612186 CF-3547238 Mobile Support : Cordova Integration ext-user should support including javascript files Problem: to include javascript file is to be fixed. Its not working now if we try to include javascript(.js) file. Method: Code snippet to repro : Result: Expected: Workaround
: Invalid CFML construct found on line 1 at column 12286. Snippet: ...[{a=()=>{a}AA Expected Result: The component should compile without any issues Any Workarounds: None
3581064 CF-4199987 Ashudeep S. This is not an issue with parsing *gte* but a problem with recursive chaining. I just created a sample code snippet with *gte()* function and verified that the following code works: {code:java} WriteOutput(sample.gte(5)); {code} But the one having multiple dotted
3046930 CF-4198568 HariKrishna K. Mosh, The usage is incorrect, when the content-type is "application/x-www-form-urlencoded", then the data that should be sent will be of type "formfiled". Here is the sample snippet:
3039147 CF-4198563 Poonam J. @Jack - Would it possible for you to share some code snippet, error logs? is your code using maxelementsinmemory property. If yes, note that this has been renamed to maxentrieslocalheap since ehCahce has deprecated the same. Also, if ehCache.xml has been modified
2608149 CF-4181270 Kailash B. Hi Jay, Can you please share a code snippet where you see this issue? Or if you have a repro case? This will help us in identifying the issue faster. Also, is it a particular scenario where this issue is seen? Or do you see it for all proxy cases? Thanks, Kailash
2608181 CF-4169935 Poonam J. Could you please provide the code snippet that you used to dump the result.I tried above code , it is working for me. Also let me know the CF 11 update version you are on.
2608196 CF-4165797 Nimit S. Hi Darrell, I have tried to repro this issue with the given code snippet. But I am unable to repro this. I am getting the expected output. Have you tried applying the latest hotfix of ColdFusion 11? -Nimit
2608229 CF-4160040 Subir J. Robert, I have tried the code that you shared, on a connector configured with iis and running on https mode, I am still unable to repro the case. 1. Please share code snippet that generated code that you sent 2. Steps that reproduce the bug. 3. Screen-shot of Server
2608434 CF-4095231 S P. Hi Chris, I am unable to repro this issue. Maybe I am missing some detail that you have in your code, could you please share your code snippet for the same. Also do share your environment details Thanks!
2608495 CF-4076853 External U. Can the code snippet that shows sensitive S3 Key ID and Secret Key information be removed from public viewing? I plan to remove the 2 URLs that I provided that showed the issue since you now know how to reproduce the issue Is that OK?
2608731 CF-4014690 Immanuel N. @Aaron, Correction on my earlier comment. I do not see issues with the . Do you still see this issue? If yes, can you please provide the code snippet? Also, as mentioned in the below comment, we will not be treating the error thrown in excel as a bug.
2608804 CF-3989963 Dattanand M. Hi Alex, I tried reproducing this bug in CF10 and Cf11, created multiple bar charts with the snippet that you have shared, but I wasn't not able to hit this issue. Can you please shared the exact build number on which you are hitting this issue
2608915 CF-3964534 Nimit S. Hi Rene, I tried generating pdf using the given content, but I don't see text duplication in the generated pdf. Please provide below mentioned details: 1. Settings summary of ColdFusion 2. Code snippet
2608960 CF-3952934 Mayur J. When the spreadsheet is created using coldfusion I see that we are formatting the cells with bold. Now when the cells are manually deleted in spreadsheet the format is still applicable on the cells, that is why we see a query object being returned. Try the below snippet
2609139 CF-3923429 Akhila K. Was unable to repro the case. When query cache was cleared from Admin, the data was fetched from database afresh. Please provide more details to repro the issue (simple code snippet and database driver detail) . Thanks.
2609149 CF-3920947 Akhila K. Please provide us the code snippet to repro the case, both for ColdFusion(client) part and WCF part. Also let us know the update number on which ColdFusion 10 is running. We have upgraded http client library, so is this issue occurring with ColdFusion + latest update
2609154 CF-3919057 Subir J. Ron, Fix will be available in upcoming update. At the same time API has also changed so test.cfm you attached will not work. Please use the following code snippet which utilizes current API. //application[type].searchFlights = a
2609220 CF-3909793 Nimit S. I have tried the code snippets mentioned above with MS SQL Server 2012 and ColdFusion 11,0,03,292480 and it is working fine. Please let us know the information mentioned below: 1. ColdFusion build number. 2. Database server being used and Database driver
2609223 CF-3909694 Akhila K. swfobject.js which is provided in source code throws an exception, there seems to be a code snippet missing from provided file. Please provide us working code to repro the case.
2609231 CF-3870997 External U. We are on Enterprise too. My DDX above is from the version 8 of the document "Using DDX to perform advanced tasks". The same snippet from the current document available at https
2609341 CF-3857664 Immanuel N. Sumit, Do you see any exceptions thrown for the file not found error? Could you please send us those, along with any snippet of code you may have, to help us investigate?
2609671 CF-3810965 Adobe D. The following code snippet for listFilter should work as part of this fix:(Reference bug# CF-3845963) list = "2|4"; list.listfilter( function(){ writeDump(arguments); return true; }, "|", true); Expected: should dump the following: index, list, delimiter
2609767 CF-3780056 Immanuel N. Could not reproduce the bug. The inconsistency is probably due to caching. Please clear Template / Component cache from the options available in CF Administrator > Caching Closing the bug as Not a bug. Regarding the code snippet posted as a comment, the "Preserve
2596851 CF-3562712 Akhila K. The information provided is less for us to repro the case and to look into the issue further. Please provide us code snippet to repro the case and also (very important) the log file content generated just before the instance went unresponsive. This would help us
2596856 CF-3552414 Akhila K. Not able to repro this case. Please provide us code snippet to repro the issue, stack trace and cumulative hotfix version if any was applied to ColdFusion 9. With ColdFusion 9.0.2 Cumulative Hot fix 1, ColdFusion 9.0.2 was certified on JDK 1.7 Update 15.
2612189 CF-3546959 Akhila K. We are unable to repro this issue, so it would be great if you could provide certain code snippets which can help us to repro and analyse the issue that is been encountered. Thank you.
2612353 CF-3519649 Rupesh K. As the forum thread says - it fails only in 0.003% case which makes it nearly impossible to replicate. So we would need some more information so that can we dig further. Can you share the code snippet that fails? Is there any stack trace that you can share? Can you
2596897 CF-3492087 Frank J. The documentation is being actively cleaned. Many obsolete functions are refactored. For instance, take a look at: https://learn.adobe.com/wiki/display/coldfusionen/cfdirectory The page has now correct examples and also community-contributed snippets. In the case of
2613213 CF-3338825 External U. I can confirm this issue. Here's a snippet of my JSON: "SUBGROUPCODE":[000,000,000,"001","001","001","001","001","001","001","001","001","001","001","001","001","001","001","001","001"
2596951 CF-3319527 Akhila K. Unable to repro the issue, please provide more information on steps to reproduce the same. Have tested with the below mentioned code snippet : wsCacheBug.cfc: component displayname="wsCacheBug" { remote String function myTest() { return "Testing"; } } ws
2597026 CF-3186302 Piyush K. unable to observe the issue with CF 9,0,1,274712 on Windows 7x64. @ CFMunster, can you please try introducing some lag between indexing the collection and deleting the keys and let us know if you still run into the issue. Thanks. Here's the code snippet I used
2597058 CF-3143543 Piyush K. unable to reproduce the issue with 9,0,1,274712 on Windows 2008 / IIS with the attached templates. @ah_dc, the code snippet in the bug report seems to have some missing pieces. Can you please share the complete code, or check out the files I have attached, and suggest
2597090 CF-3122719 External U. When reproduced in a cfm, coldfusion throws the error " Variable ___IMPLICITARRYSTRUCTVAR0 is undefined." When reproduced with given snippet, and both if and else call test(["hello"]); coldfusion throws following error: Unable to complete CFML to Java translation
if it was character encoding or special character issue for display) 3. Code snippets to repro this case.
2608121 CF-4187503 Immanuel N. With ColdFusion preserving datatypes, member functions can be invoked on values that are strings. The following snippet now returns "11", with sampleQuery.ID.len() and Len(sampleQuery.ID) not returning exceptions. {code:java} sampleQuery = QueryNew( "ID
4322443 CF-4202429 Immanuel N. The only scenario that has not been fixed as part of CF-4201487, is,  foo = new Null()//coldfusion.runtime.UndefinedVariableException writeDump(foo) In fact, the following snippet works as expected, foo = createObject("component", "Null"); write
4427755 CF-4202736 Aaron N. I wish I could edit the description. I had a typo. The 2nd snippet (w/ the switch/case) should've been: function f() { var someValue = "a" switch(someValue) { case "b": { var foo = "bar" break } } return local
4635839 CF-4203170 S P. Hi Chris, Could you please share the code snippet with us, so that we can check if we can repro this intermitent issue. Also, do share with us any setting that you have done wrt cookies in Application.cfc/Admin. Thanks!
4676566 CF-4203250 Poonam J. Hi, Can you please provide  me following details : 1) ColdFusion 2016 update version which is causing this issue 2) A code snippet which is causing this issue. These details would be really helpful to debug this issue.   Thanks Poonam
3551265 CF-4199848 HariKrishna K. Please add the following snippet in the services-config.xml file in WEB-INF\flex directory and restart the server. It worked for customer. We have to validate
4676566 CF-4203250 A. B. Thanks, Poonam. I already stated the ColdFusion Build. It is 2016.0.06.308055 I would rather not publish the code snippet here, as it contains sensitive company information. Could you please give me an e-mail address to which I can send it?
2596927 CF-3359625 HariKrishna K. Hi Mike, This is the snippet, I have used and I don't see any issues: This is text part of the message HTML Message Bold     Closing the bug as Withdrawn/NotABug, as there is no response from the customer.  
4717680 CF-4203278 S P. Hi Yuliang Ruan, I ran the test code snippet present in the try-catch block, I do not see an exception. Could you tell me the location of your testcase and the webroot of your server. Also, is this the exact code that generates the error for you? Thanks!
4635839 CF-4203170 S P. Hi Chris, Could you please share the code snippet with us, so that we can check if we can repro this intermitent issue. Also, do share with us any setting that you have done wrt cookies in Application.cfc/Admin. Thanks!