Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
We have a site that is upgrading and they need to be able to save more than 1000 characters in the category summary. The db field is NVarchar(MAX) so there is room, but you have limited it to 1000 characters in the controller, so we have to make a change that requires a recompile to just change that!! In Gold, it wasn't an issue because it was a quick change. You might reconsider other ways of limiting characters- we have seen similar situations numerous times over the years.
|
|
|
|
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)
|
Are you trying to edit the Category page summary from the retail or admin side? Can you please mention steps to reproduce.
At which page?
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
Well, I hadn't actually tried it until now, but the Admin CategoryController has category.Summary = StringHelper.Truncate(categoryModel.Summary, 1000);
I just tested with 1500 words, and it was truncated when saved. The admin page doesn't give any indication that it was truncated until I navigated out, then back and checked the content. No error warning when you save it, and the screen showed the entire 1500 words after hitting save, but it wasn't really saved.
|
|
|
|
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)
|
Thanks for the code reference from admin. It seems that there should be an indication of the character limit on the UI side as well.
I 'll report the issue.
|
|
|
|
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)
|
Sorry Judy,
This is bad bug for anyone who has upgraded and using the summary field. I updated the bug report so it will be fixed in the next version.
Katie |
Thanks for your support!
Katie Secure eCommerce Software and Hosting |
|
|
|
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