This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

why can't I design workouts with intervals less than 1 minute?

Former Member
Former Member
Trying to do this in Garmin Connect for my 220. What's wrong?
  • Garmin, The problem is in modern/main/js/pages/workouts/steps/EditableStepView.js

    The following code:

    this.durationTime = new c({
    element: this.$("input[name=duration-time-" + this.uuid + "]"),
    maxValue: 1e5,
    required: !0,
    minValue: 1,
    typeFormat: "integer",
    reporter: new l({
    message: function(e, t) {
    return n.localize("validation.activity.distance.invalid", e)
    },
    position: "right",
    element: this.$("input[name=duration-time-" + this.uuid + "]")
    })


    Should be:

    this.durationTime = new c({
    element: this.$("input[name=duration-time-" + this.uuid + "]"),
    maxValue: 1e5,
    required: !0,
    minValue: 0,
    typeFormat: "integer",
    reporter: new l({
    message: function(e, t) {
    return n.localize("validation.activity.distance.invalid", e)
    },
    position: "right",
    element: this.$("input[name=duration-time-" + this.uuid + "]")
    })


    Or something else rather than 1!!!!

    I tested this and it fixes the issue.
  • Former Member
    0 Former Member over 10 years ago
    Wow, this is such nonsense. This has been going on for way too long.
    Very annoying. Get your act together on this, Garmin.

    Edit: Also, what is this with only being able to go up to 999 watts in Garmin Connect? For sprint training I have to go over 1400 watts, can't even enter that value in Connect. Guys over at Garmin must really be good at their job. Yeah, I'm pissed.
  • Former Member
    0 Former Member over 10 years ago
    Thank you for bringing this issue to our attention, I have advised the developers of this issue and working to resolve it. I apologize for this inconvenience and will let you know when I have an update on this. Thank you for your patience in this matter.

    Shane
    Garmin Connect Subject Matter Expert
  • Former Member
    0 Former Member over 10 years ago
    Slight lack of reactivity down there.
    It's definitely a problem.
    Any workaround until they fix it?
  • I was able to work around by applying the change I mentioned in this post using the developer tools in my browser.

    fyi, I reported a bug to garmin (here) about not being able to type colons ":" when creating a workout using a browser on an iphone on April 12th. They acknowledged, but a fix never went up until last week.
  • Former Member
    0 Former Member over 10 years ago
    Garmin, The problem is in modern/main/js/pages/workouts/steps/EditableStepView.js

    The following code:



    Should be:



    Or something else rather than 1!!!!

    I tested this and it fixes the issue.


    If what you write is correct, then Garmin position and behavior in regards to their customers is just unacceptable. From an issue perspective, i clearly hope you are correct, from a customer experience, that sounds like being taken for an idiot after having spend so much money in their products.
    Customer Services and Quality Management should not stay without reacting, else their considerations for ourselves will definitely have negative effects on their future business opportunities.
  • Sorry but what is now "unacceptable" ? Clearly unfortunate this has happened of course but several Garmin employees have come to say they acknowledge the issue and it is being worked on. As has been pointed the fix ought to be straight forward so let's hope it is resolved soon.

    In mean time, I suggest it ought to be possible to get workouts on your devices with intervals less than a minute with Garmin Training Center.
  • jmwhelan already pointed out the error and the fix. it shouldn't take a multinational corporation several days to fix this. just another straw in garmin's ineptitude. i too have spent a lot of money on their products only to feel like a beta tester.

    edited for clarity.
  • Former Member
    0 Former Member over 10 years ago
    I think this code is even useless since some developper took care of creating a "DurationTimeValidator.js" script.
    It seems that a junior dev. copy-pasted some validation code, ignoring existing utils and screwing up a core functionnality of the site...
    This junior dev should be forced to do a workout of 10 rep. of 1minute at 90% every hour until it is fixed...
  • Former Member
    0 Former Member over 10 years ago
    Sorry but what is now "unacceptable" ? Clearly unfortunate this has happened of course but several Garmin employees have come to say they acknowledge the issue and it is being worked on. As has been pointed the fix ought to be straight forward so let's hope it is resolved soon.

    In mean time, I suggest it ought to be possible to get workouts on your devices with intervals less than a minute with Garmin Training Center.


    TimGrose, thanks for your input. I appreciate that Garmin support aknowledges the issue. But don't get me wrong, if this was a real nightmare to fix and strong dependencies or regressions linked to the fix, I would clearly understand the time required to implement the bespoke amendments.
    In this specific case, Another member, not necessarily an expert in Garmin Connect Development Guide has been able to spot and fix the concern in a simple and straightforward way. I would expect the same reaction from Garmin Support and solve these very annoying bugs with the same pace as jmwhelan was able to do.
    Please don't tell me that I am asking too much here.

    This is just my opinion
    Have a nice day Timgrose, no offense

    Cheers