AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
9.0.3 Post upgrade language resources not able to add
Rank: Advanced Member
Groups: Authorized User, Registered, Developers, HelpDesk Joined: 11/30/2018(UTC) Posts: 86
Thanks: 8 times Was thanked: 1 time(s) in 1 post(s)
|
After upgrading from 9.0.2 to 9.0.3 there are two new localization strings that will not update when clicking the save button in the Resource add box. Below are the two listed that will not save. I believe it has to do with Syntax length of the strings. As a note all of the others saved ok.
retail.validatepaymentprofile.billingaddressmessage Before adding a new payment profile, check to make sure the <i><b>billing address</b></i> for your account <i><b>matches the card</b></i> being entered below.
retail.validateeditpaymentprofile.billingaddressmessage Before editing a payment profile, check to make sure the <i><b>billing address</b></i> for your account <i><b>matches the card</b></i> being entered below.
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
I am able to reproduce the issue. All resource strings that contain HTML tags will not be updated. Just to confirm that this issue isn't related to release 9.0.3. It was there from start but never identified. Thanks for identifying the issue. I am registering this as a bug. To solve the issue: 1- Open file \Website\Areas\Admin\Models\LocalizationModel.cs 2- Search for Code:public class ResourcesModel
{
[Required]
public string Name { get; set; }
public string Translation { get; set; }
public int LanguageId { get; set; }
public int Id { get; set; }
}
3- Replace with Code:public class ResourcesModel
{
[Required]
public string Name { get; set; }
[AllowHtml]
public string Translation { get; set; }
public int LanguageId { get; set; }
public int Id { get; set; }
}
4- Compile the project Thanks
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
An easier update is to remove the html from the message text. This string was added specifically for the Payment Profile feature that is used with Authorize.net CIM. If you are not using this feature, then the text will never appear in the store.
Thanks for reporting the issue. Katie |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
Rank: Advanced Member
Groups: Authorized User, Registered, Developers, HelpDesk Joined: 11/30/2018(UTC) Posts: 86
Thanks: 8 times Was thanked: 1 time(s) in 1 post(s)
|
Just getting back to this. We don't use that Payment Profile. I just removed the HTML and it worked with adding the resources.
Thank all for your help.
|
|
|
|
Rank: Advanced Member
Groups: System, Administrators, Developers, Registered, HelpDesk Joined: 10/29/2018(UTC) Posts: 472
Thanks: 4 times Was thanked: 34 time(s) in 33 post(s)
|
Your welcome!
This morning, I removed the html from the language string text in the upgrade instructions. It certainly wasn't necessary to have in there.
Katie |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce 9 Bug Reports
»
9.0.3 Post upgrade language resources not able to add
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close