You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry guys for this question but I can't come out from this problem. I'm try to use Import/Export of Orchard Core to move some data from my old platform to an Orchard Core installation but when I try to post my data I found this message on Orchard log: Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The required antiforgery cookie "..." is not present
I've looked at the code in the ImportRemoteInstanceController and I've seen that the method Import have [IgnoreAntiforgeryToken]. Why it ask me about antiforgery cookie?
I'm on .NET Core 2.2 and I've added Orchard Core to my project by Nuget package version 1.0.0-beta3-71077.
Thank you.
The text was updated successfully, but these errors were encountered:
@sebastienros I can't repro, but maybe there is still some thinking to do about that choice of 1000, I will make some further notes on #3993
For this issue, @PiemP I think you are using the beta3 from NuGet. The AntiforgeryValidationExpection is an issue that was fixed in #3622 which is in the MyGet dev packages. However it was an error in the logs that did not cause an issue, but I think happened when you setup a development site on a machine that previously had another site setup on it. For more details see #3293
Is your import / export actually succeeding? You should see an error visible in the admin if the post to a remote instance does not succeed.
I tried this morning and was able to successfully setup a remote instance and import data from a remote client with no errors, and could see a new content item appear on the remote instance.
Could you provide some more details about what is not working?
Sorry guys for this question but I can't come out from this problem. I'm try to use Import/Export of Orchard Core to move some data from my old platform to an Orchard Core installation but when I try to post my data I found this message on Orchard log:
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The required antiforgery cookie "..." is not present
I've looked at the code in the
ImportRemoteInstanceController
and I've seen that the method Import have[IgnoreAntiforgeryToken]
. Why it ask me about antiforgery cookie?I'm on .NET Core 2.2 and I've added Orchard Core to my project by Nuget package version 1.0.0-beta3-71077.
Thank you.
The text was updated successfully, but these errors were encountered: