Charles Robertson
04/18/2023, 7:32 PMListener Component
and a Custom CFC path to the CFC
field
When I make the following call:
SendGatewayMessage(“eventName”, data)
The data gets passed to the AsynchronousEvents.cfc -> AsynchronousEventsListener.cfc ~ OnIncomingMessage()
But the data never gets sent to my Custom CFC via the method OnIncomingMessage()
Does anyone know why?Scott Steinbeck
04/19/2023, 8:26 PMgsr
04/20/2023, 2:45 AMfoundeo
<td valign="top" bgcolor="#ff9900" style="border : 1px solid #000000;empty-cells:show;
which I am finding is lucee’s HTMLDumpWriter
. You would expect to see this in the result of a cfdump
right?, but you’ll see that lucee cfdump output doesn’t have inline style attributes, it has a style tag and uses classes like luceeH1
which appears to come from the Dump.cfc custom tag bundled with lucee: https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/resource/library/tag/Dump.cfc#L616Sebastiaan Naafs - van Dijk
04/21/2023, 12:00 PMgsr
04/22/2023, 2:47 AM<cfdirectory action="create" directory="#arguments.pathS3#" storeacl="#myarray#">
array is like this to give permissions
[{email="<mailto:xxx@yyy.com|xxx@yyy.com>", permission="full_control"}, {group="all", permission="read"}]
but it seems its defaulting to US, how can i make it do it from region specific and that is for Australiagsr
04/22/2023, 3:51 AMgsr
04/22/2023, 3:51 AMJonas Eriksson
04/24/2023, 3:09 PMSebastiaan Naafs - van Dijk
04/25/2023, 10:40 AMjohnfarrar
04/25/2023, 9:40 PMwaleedehsan1
04/26/2023, 11:06 AMfoundeo
zackster
04/27/2023, 4:52 PMchapmandu
04/28/2023, 7:55 AMzackster
04/28/2023, 3:45 PMStewart McGuire
04/28/2023, 7:26 PMartknight
04/28/2023, 8:17 PMAnders Lars
05/01/2023, 5:10 PM// Create a Redis client object
redis = createObject("java", "redis.clients.jedis.Jedis").init("localhost")
// Define the key and value to be written to the Redis cache
key = "myKey"
value = "myValue"
// Acquire a distributed lock for the key
lockName = "redis_lock_" & key
lockTimeout = 5000 // Lock timeout in milliseconds
lock = cfdistributedlock.acquire(lockName, lockTimeout)
// If the lock is acquired successfully, write the value to the Redis cache
if (lock.isAcquired()) {
redis.set(key, value)
// Release the lock
lock.release()
} else {
writeOutput("Failed to acquire lock for key: " & key)
}
phillipsenn
05/01/2023, 7:55 PMian.hickey
05/02/2023, 2:38 PMExpecting a stackmap frame at branch target 55 Exception Details: Location: main1683037896331_ebf01615_d507_cc4a_2dd2_6c6bc52d4398_cfm7020$cf$3e4.call(Llucee/runtime/PageContext;)Ljava/lang/Object; @5: iconst_1 Reason: Expected stackmap frame at this location. Bytecode: 0x0000000: 2bb6 003c 4d04 9900 2e2b 2b2b 2b2b 2bb6 0x0000010: 0040 2ab4 0042 0332 01b6 0046 b200 4c01 0x0000020: b600 462a b400 4204 3201 b600 4fb8 0055 0x0000030: b800 5a58 a700 a04e 2db8 0060 9900 052d 0x0000040: bf2d b800 643a 042b 1904 0404 b600 682b 0x0000050: 126a b600 6e2b b600 722a b400 4205 322b 0x0000060: 2bb6 0072 2ab4 0042 0632 05bd 0074 5903 0x0000070: 2bb6 0072 b200 77b9 007c 0200 5359 0412 0x0000080: 7e53 b600 82b9 0086 0300 572b 126a b600 0x0000090: 6e2b b600 892b 2b14 008a b800 90b6 006e 0x00000a0: 2b2b 2bb6 0072 2ab4 0042 0532 b900 7c02 0x00000b0: 00b8 0095 b600 6ea7 000c 3a05 2bb6 0098 0x00000c0: 1905 bf2b b600 98a7 000d 3a06 2b2c b600 0x00000d0: 9b19 06bf 2b2c b600 9b01 b0 Exception Handler Table: bci [5, 52] => handler: 55 bci [149, 186] => handler: 186 bci [5, 199] => handler: 202
jamiejackson
05/02/2023, 3:06 PMAdam Cameron
Adam Cameron
https://i2.paste.pics/eb440092753b290baa1478a5b484b458.png▾
zackster
05/04/2023, 6:52 PMfoundeo
zackster
05/05/2023, 10:11 AMAdam Cameron
function getHttpRequestHeaders(){}
The name [getHttpRequestHeaders] is already used by a built in Function on line 2
No it bloody isn't:
<https://docs.lucee.org/reference/functions/gethttprequestheaders.html>
404.
<https://cfdocs.org/gethttprequestheaders>
404
CF:
https://i2.paste.pics/2d90559a41062746675c63902934ab05.png▾
Adam Cameron
["tahi", "rua", "toru", "wha"].each((v, i) => {
writeOutput("#i#:#v#<br>")
})
[true, false].each((v, i) => {
writeOutput("#i#:#v#<br>")
})
Errors with "Invalid Syntax Closing []] not found on line 6"
stick a semi-colon after the first expression: all good.
Will check Jira...Adam Cameron