Questions tagged [coldfusion-2018]

ColdFusion is a server-side rapid application development platform, from Adobe. ColdFusion 2016 is the current release of CF released on July 12, 2018.

Language New features in ColdFusion 2018

  • Asynchronous programming, using Futures
  • Abstract components and methods
  • Final components, methods, and variables
  • Optional semicolons
  • NULL support
  • Numeric member functions

Administrative New features in ColdFusion 2018:

  • Performance Monitoring Toolset
  • REST playground capability
  • Modernized Admin UI
  • Distributed cache support (Redis, memcached, JCS)

See: https://helpx.adobe.com/coldfusion/using/whats-new.html#WhatsnewandchangedinColdFusion2018release

124 questions
5
votes
0 answers

ColdFusion 2018 REST API File Upload with multipart/form-data

How can we upload a file using enctype="multipart/form-data" in a ColdFusion 2018 REST Service? Mocking up a simple service;
Justin
  • 378
  • 1
  • 3
  • 12
5
votes
0 answers

Invalid DDL generated after upgrade to ColdFusion 2018 / Hibernate 5.2

We are having a problem with ColdFusion 2018 and/or Hibernate 5.2. We have a series of models for which DDL is generated without issue with ColdFusion 2016, but fails with ColdFusion 2018. We are not sure which (ColdFusion or Hibernate) is…
K. Meke
  • 433
  • 2
  • 14
5
votes
0 answers

Coldfusion 2018 clustering and session replication not working

Setting up a couple new Coldfusion 2018 servers and will be using clustering for the first time and have run into some problems. I am having trouble with session replication. Basically, session variables appear to be replicated between nodes in a…
K. Meke
  • 433
  • 2
  • 14
4
votes
1 answer

The query of query ( QoQ ) with order by return duplicate column after update12 Coldfusion 2018

I've updated my coldfusion 2018 server with most recent update12 by Adobe. As soon as I've updated the server I've wrote some QoQ for my application with ORDER BY in my QoQ. Whenever I use order by in QoQ then the result data have some duplicate…
Kannan.P
  • 1,263
  • 7
  • 14
4
votes
1 answer

How to change chunked upload filename from "blob" to another value?

After a recent installation of update 4 to ColdFusion 2018 which stopped the ability to have file uploads with no file extension, Plupload chunked file uploads no longer work. I am providing the filename and name for the multipartparams for…
noble6
  • 51
  • 2
4
votes
3 answers

Coldfusion CSV to Spreadsheet

I have a few processes that utilize the CFSpreadsheet tag to import and then manipulate Excel data. This works great for .XLS & .XLSX files, however, it doesn't work if the data is sent as a .CSV file since CFSpreadsheet apparently was never…
Paul B
  • 93
  • 5
4
votes
1 answer

Can not find the difference between accessing property in a query with '[bracket]' and '. dot' notation

I have a code snippet where I am fetching rows from a database and finding dateDiff from one of the columns in the query. SELECT [DateInvited] FROM [INVITE_PERSON] WHERE [UUID] = …
Bikash Das
  • 147
  • 1
  • 12
4
votes
1 answer

cfgrid not working after upgrade from Coldfusion 11 to Coldfusion 2018

After upgrading from CF11 to CF2018, Update 3, none of my editable cfgrids are working. When I make an edit and then submit the form, the columns seem to get jumbled. I created the simplest cfgrid I could (below) but am still getting the same…
4
votes
1 answer

ColdFusion 2018 and BlazeDS DateTime Parse Error for Three Char Daylight Saving Time Code

When using BlazeDS (Flex app) to send dates to CF, and the date sent is within Daylight Saving Time, CF fails with an error: [BlazeDS] Error deserializing client message. coldfusion.runtime.locale.CFLocaleBase$InvalidDateTimeException: July 8,…
4
votes
1 answer

Magic number removal on ROT13 in ColdFusion

I have this function that calculates ROT13. string function rot13(required string inString) output="false" { var j = 0; var k = 0; var out = ""; for (var i = 1; i <= Len(arguments.inString); i++){ j = asc(Mid(arguments.inString, i,…
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
4
votes
1 answer

Avoid cgi shared scope

I have a lot of FW/1 controllers which can perform differing functions based on whether the request is a get or post. I have a lot of code that looks like this if (cgi.request_method == "post") { I recently installed Commandbox's CodeChecker CLI …
James A Mohler
  • 11,060
  • 15
  • 46
  • 72
3
votes
1 answer

Unexpected error using the sum function in a QoQ

While attempting to run the following code SELECT SUM(AMOUNT) AS TOTAL FROM ChartData This is the error message that's generated: Query Of Queries runtime error. The…
user12031119
  • 1,228
  • 4
  • 14
3
votes
2 answers

How to mount ColdFusion volume in Docker?

Here is the docker-compose file I tried for ColdFusion 2018, version: '3.3' services: cf18: environment: - acceptEULA=YES - password=admin volumes: - /opt/coldfusion/:/opt/coldfusion/ ports: - 8500:8500 image:…
Justin
  • 378
  • 1
  • 3
  • 12
3
votes
2 answers

ColdFusion 2018 does not interpret undefined as empty string

A ColdFusion server has been updated to ColdFusion 2018 (from ColdFusion 9 or 11). One of the oldest applications on that server contains code like: < cfif arguments[key] NEQ ""> Before, this seems to have been equivalent to…
3
votes
0 answers

Form variable populated in request, but empty string on receiving form

Something weird or something obvious. I've inherited a coldfusion application, which I need to work with as it is for the meantime, including the widespread use of etc. We have a select list as follows:
user460114
  • 1,848
  • 3
  • 31
  • 54
1
2 3
8 9