Skip to content

Commit

Permalink
Merge pull request #88 from tutkucan/tutkucan/develop
Browse files Browse the repository at this point in the history
Minor updates for blogpost 2024-01-15-Sitecore-10-problems-and-solutions
  • Loading branch information
Ramo-Y authored Jan 8, 2024
2 parents 9aefc2c + c343322 commit 4655040
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ author: tcanyalcin
![alt text](../files/2024/01/15/sitecore-10.png "Sitecore 10")


Like many others after upgrading from Sitecore 9.1 to Sitecore 10.3, we faced with bugs and some features stopped working for us. In this post I will try to list some of them and explain how we fixed them.
After upgrading from Sitecore 9.1 to Sitecore 10.3 like many people, we faced with bugs and some features stopped working for us. In this post I will try to list some of them and explain how we fixed them.

## Problem: Sitecore forms list fields stopped showing values of list items on local languages

Expand Down Expand Up @@ -106,7 +106,7 @@ For these 2 problems thank you for your support Arun Tiwari..
After the upgrade, all of our forms were not showing css classes. Since they are added to the project for custom implementations, they were not changed by upgrade automatically.

## Solution
In Sitecore 9, Model.CssClass for fields and Model.LabelCssClass for labels were used. These properties become obsolete in Sitecore, so we needed to use Model.CssClassSettings.CssClass and Model.LabelCssClassSettings.CssClass respectively. After these changes forms were rendering css classes again.
In Sitecore 9, Model.CssClass for fields and Model.LabelCssClass for labels were used. These properties become obsolete in Sitecore, so we needed to use Model.CssClassSettings.CssClass and Model.LabelCssClassSettings.CssClass respectively. After these changes, forms were rendering css classes again.

## Similar Problem: Forms Editor not showing Styling section on custom form fields

Expand All @@ -118,7 +118,7 @@ In Sitecore 10, there was another change for each form field on core database. S

Even though item names are same, there are different items selected in Sitecore 10. You can put the following ids on ControlDefinitions field on Sitecore for each of these custom fields, then we will be able to see css classes on Sitecore Forms Editor:

>{98FB361E-3A7F-49F9–8789–8C169FB95B61}|{121B9875–2F7D-4D62-BD0F-35A7B909ECE8}
*{98FB361E-3A7F-49F9–8789–8C169FB95B61}|{121B9875–2F7D-4D62-BD0F-35A7B909ECE8}*


## Problem: Missing field values after Glass mapper upgrade
Expand All @@ -127,7 +127,7 @@ After the upgrade, we realized there were many field values not showing on websi

## Solution

We searched on glass mapper docus found this one:
We searched on glass mapper release documentation and found this one:
[glass mapper](http://www.glass.lu/Mapper/Releases.html) on version 5.3.17 which mentions:

>ISSUE 370 The lazy object inceptor will now ignore class properties that don't have a setter or have the SitecoreIgnore attribute.
Expand All @@ -148,7 +148,7 @@ After some investigation, we decided to rebuild all scripts on Powershell ISE. T

>Cognifide.PowerShell.Client.Controls.ContentEditorRibbonPanel,Cognifide.PowerShell
So after we start using updated type, scripts become clickable and icons are showing again.
So after we start using the updated type, scripts become clickable and icons are showing again.

## Problem: Fast Queries Not Supported

Expand All @@ -162,7 +162,7 @@ We developed a custom SettingProvider and started using it instead of queries or

After we switched to Sitecore 10 and started using the databases from production system, many developers in team experienced this exception.

Either cm was unhealty or after some time it was becoming unhealty. When we check logs on docker or inspect container, we would always see this error popping up. Also, the sitecore system was so slow to work on.
Either cm was unhealty or after some time it was becoming unhealty. When we check logs on docker or inspect container, we would always see this error popping up. Also, Sitecore system was too slow to work on.

## Solution

Expand Down

0 comments on commit 4655040

Please sign in to comment.