-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combination of Dilithium and fieldFilter throws and must declare scalar @ error #411
Comments
Can you include your SQL Server Version details, please? |
SQL Server 2017 (Sql server 14.0.2037.2) |
I need to see the full configurations as well. Specifically the field filters you have configured. I also need you to switch Unicorn logging to debug level and send me that output as well. Note to self:
|
I uploaded the requested files to https://drive.google.com/drive/folders/1ngEqqiG12GfFVtOhJDMw9MrlGJt4kZAv?usp=sharing The field filters configuration files can be found in Unicorn issue\unicorn serialization configuration\VGZ.Foundation.SC.Unicorn.Configuration.config but for good measure I pasted them in the comment field. `
` Unfortunately, I am not able to get anything from the unicorn log even in debug mode. It directly throws an application/server error ` Server Error in '/' Application.Must declare the scalar variable "@".Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. |
Alright, thanks for this :) I will see if I have enough to get the issue reproduced on my test bench :) |
We also ran into the same error recently and found a workaround by accident - if you add at least one of the following fields to the exclude list, the error will disappear:
Maybe this helps to find the real cause of the problem, @cassidydotdk |
Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
When I use the fieldFilter to exclude some fields from an item during serialization in combination with Dilithium, I get a "must declare scalar variable @" error when syncing. The serialization works fine and it is properly serialized, but the syncing does not work.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
That syncing should work with dilithium and excluded fields via fieldFilter
Please mention your Sitecore version and Unicorn version.
Sitecore: 9.1.1
unicorn: 4.1.3
The text was updated successfully, but these errors were encountered: