Tor
04/25/2024, 7:20 PMCraig100
04/25/2024, 6:46 PMBatuhan
04/25/2024, 11:36 AMcirrus
04/25/2024, 10:37 AMJulien
04/25/2024, 9:55 AMkdx-perbol
04/25/2024, 9:54 AMTackleMcClean 🏅
04/25/2024, 9:48 AMweedroid
04/25/2024, 8:39 AMSteffen Nielsen
04/25/2024, 8:24 AMTigerMan
04/25/2024, 8:13 AMRoy Barber
04/25/2024, 8:09 AMMarian
04/24/2024, 4:40 PMProNotion
04/24/2024, 4:07 PMIOutputExpansionStrategy
mapping strongly typed IPublishedContent
and IPublishedElement
onto my DTO's but I am now running into issues with the following error:
> A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 32. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles.
This relates to BlockList properties and I'm guessing is an issue caused by the potential for deep/infinite nesting. I can't seem to find a way around it which has lead me to question my current approach to achieve what I am after. Has anyone done anything similar or taken a different approach or can offer some pointers here?Harriet Lawrie
04/24/2024, 3:56 PMutilityLA
04/24/2024, 3:36 PMWilliam Parr
04/24/2024, 12:45 PMAdyenCheckoutPaymentProvider
class method ProcessCallbackAsync()
gets to the expression if (adyenEvent.Success) { ... }
but this most likely results in false
seeing as the code inside this if
expression doesn't execute for these specific transactions. Inside this block is where SendNotificationReceivedMessage()
is invoked, causing a 200 response with body [accepted]
to be returned to Adyen, which is what they need to know that the webhook was executed successfully and in order to continue with finalizing the order via NotificationEventHandlerBase.Handle()
.
However, inspecting the event body in the Adyen webhook event logs shows that the notificationItems
object does in fact state success: true
, so I really don't understand why the above code isn't being triggered, no matter how many times I use the "Retry" button from within the Adyen Customer Area.Brynjar Þorsteinsson
04/24/2024, 11:47 AMCodeSharePaul
04/24/2024, 11:20 AM.sebp
04/24/2024, 10:35 AMChancer
04/24/2024, 8:37 AMConner
04/24/2024, 12:10 AMdKumarMj
04/23/2024, 11:24 AMYasein H. Burqan
04/23/2024, 10:20 AMcirrus
04/23/2024, 7:17 AMYasein H. Burqan
04/23/2024, 7:04 AMSebastian Dammark
04/23/2024, 6:00 AM_helper.ContentAtRoot().FirstOrDefault()
, is there anything I should be aware of between the 2 versions, or the fact that one of the sites is multilingual ?
My problem is that on the U10 site the code above works fine, but on the U13 site the code returns a null
Here is a little context, where rootNode
is null
on my U13 site.
if (!_umbracoHelperAccessor.TryGetUmbracoHelper(out var _helper)) {
return this.Problem("unable to getting the helper content");
}
var rootNode = _helper.ContentAtRoot().FirstOrDefault();
https://cdn.discordapp.com/attachments/1232209353055146008/1232209353377845308/image.png?ex=66289fe3&is=66274e63&hm=de8c8dca3a689795302581bce870264a865e91e5d9d8a3294752dc25457431bd&Owain Jones
04/22/2024, 4:26 PMOwain Jones
04/22/2024, 3:10 PMnoel
04/22/2024, 12:31 PMdotnet publish --os linux
.
Before running the service i started the web with dotnet build and synchornized some files so it installation would match my lcoal dev. That said, with dotnet build
Umbraco worked perfectly fine - frontend, backend, file handling all went well.
But with the service running the backend doesn't seem to work anymore. The browser is trying to fetch files like https://mydomain.com/umbraco/login/login.iife.js but the kestrel server just returns a 404. Nothing obvious is logged.
I didn't find anything similiar yet - has anyone an idea what might be the cause / solution to the cause?
This is my .service file:
[Unit]
Description=Noels umbraco CMS web
Wants=network.target
After=network.target
[Service]
WorkingDirectory=/var/www/html/myWebProject/
ExecStart=/usr/bin/dotnet /var/www/html/myWebProject/bin/Release/net8.0/linux-x64/publish/myWebProject.dll
SyslogIdentifier=NCSumbraco
User=root
Restart=always
RestartSec=5
KillSignal=SIGINT
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
Environment=ASPNETCORE_URLS=https://*:44332
[Install]
WantedBy=multi-user.target
Thanks!TigerMan
04/22/2024, 11:22 AM