Declined
Last Updated: 03 Feb 2023 14:37 by ADMIN
Akesh Gupta
Created on: 20 Mar 2020 09:36
Category: UI for ASP.NET Core
Type: Bug Report
1
ToCamelCase method doesn't return correct camel-cased result

Bug report

The StringExtensions -> ToCamelCase method(part of Kendo.Mvc.Extenstions) doesn't return the expected Camel case result.

  • More details in ticket # 1458202

Reproduction of the problem

Include the Kendo.Mvc.Extenstions namespace. Define the following in a controller:

        public IActionResult Index()
        {
            string test = "RANDOMStatusId";
            test = test.ToCamelCase();

            return View();
        }

Set a debugger and see the value of the "test" variable.

Current behavior

The returned from the ToCamelCase() method value is "rANDOMStatusId"
image

Expected/desired behavior

The expected result returned from the ToCamelCase() method value is "randomStatusId"

Environment

  • Kendo UI version: 2020.1.219
  • jQuery version: x.y
  • Browser: [all]
6 comments
ADMIN
Mihaela
Posted on: 03 Feb 2023 14:37

Hello Akesh,

Indeed, I have created a feature request with a vote on your behalf. You can follow its status here:

Аs a token of gratitude, I have updated the points in your Telerik account for the feature request.

If any questions arise, don't hesitate to contact me back.

 

Regards, Mihaela Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Akesh Gupta
Posted on: 01 Feb 2023 14:47
If you wouldn't mind logging it for me, it would be greatly appreciated; I've never had much luck getting any response from the Feedback Portal.
ADMIN
Mihaela
Posted on: 30 Jan 2023 13:43

Hello Akesh,

Thank you for your feedback.

I completely agree with you, so I would recommend logging a feature request in the Telerik UI for ASP.NET Core Feedback Portal to create an overload of the ToCamelCase() method.

Please let me know if you prefer to log the request on your behalf.

Thank you for your cooperation.

Regards, Mihaela Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Akesh Gupta
Posted on: 24 Jan 2023 16:29
This is not a common implementation of toCamelCase; Microsot, Google, Newtonsoft, Humanizer, et al, all use the same implementation of this convention; why would kendo want to stick with the most basic implementation instead of what has basically become the defacto standard for it?
ADMIN
Mihaela
Posted on: 19 Jan 2023 10:10

Hello Akesh,

Please accept our apologies for not updating the item with information on the reason for declining it.

Here is the development team's feedback on the bug report:

There are different implementations of ToCamelCase logic, yet one of the most common ones is to lower only the first letter, as we did in our method. If other operations are needed, we would rather recommend applying custom logic.

If you have any questions or concerns, don't hesitate to let us know.

Thank you for your understanding regarding the matter.

 

Regards, Mihaela Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Akesh Gupta
Posted on: 12 Jan 2023 13:37
Why has this been declined?