# Why isn't this edit allowed?

**URL:** <https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696>\
**Category:** Bugabee\
**Created:** [January 9, 2018, 4:41pm UTC](https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696 "2018-01-09T16:41:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenoubi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/kenoubi/32/842_2.png) [@kenoubi](https://forum.beeminder.com/u/kenoubi)\
**Post date:** [January 9, 2018, 4:41pm UTC](https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696/1 "2018-01-09T16:41:25Z")

</div>

Pre-existing road:

 ![49](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/2/27c5af2e89c2300922e7e51494ca1372741e47da.png)

Road I want to submit:

 ![49](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/2/2ae0a635bc7e0cf402ee4e9a75019b1076b14512.png)

I get “Couldn’t update the road: Error: road can’t get easier in akrasia horizon”. Why isn’t this allowed? The date for the added segment is outside the akrasia horizon (and just in case it was a fencepost error I tried making it 2018-01-18 more too) and the rate is higher than my current weekly rate (at least according to the statistics tab). The visual road editor also doesn’t warn me about this road, but trying to submit it through that doesn’t work either (presumably the API rejects it for the same reason).

I’ve tried making my lane width 0, 0.01, and 10000 in case it somehow had something to do with lane widths, but it still gets rejected regardless.

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [January 9, 2018, 10:53pm UTC](https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696/2 "2018-01-09T22:53:23Z")

</div>

Thanks for the bug report, @kenoubi! So as possible workaround and/or debugging help, what happens if you try that at [http://road.glitch.me](http://road.glitch.me)?

---

<div class="post-metadata">

**Author:** ![kenoubi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/kenoubi/32/842_2.png) [@kenoubi](https://forum.beeminder.com/u/kenoubi)\
**Post date:** [January 10, 2018, 3:20pm UTC](https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696/3 "2018-01-10T15:20:54Z")

</div>

@dreev Sorry, that’s what I meant by “the visual road editor”. It doesn’t disable the submit button, but even after submitting it isn’t actually saved to the road.

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [January 10, 2018, 7:14pm UTC](https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696/4 "2018-01-10T19:14:29Z")

</div>

Ah, yes, sorry. I see it must be at the API level. I’ve successfully reproduced this and need @saranli and @bee’s help but will update you here as we try to figure it out. [http://dreev.commits.to/update\_kenoubi\_re\_road\_editor/by/jan\_18](http://dreev.commits.to/update_kenoubi_re_road_editor/by/jan_18)

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [January 10, 2018, 7:29pm UTC](https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696/5 "2018-01-10T19:29:10Z")

</div>

PS: And have us fix it manually in the meantime by emailing [support@beeminder.com](mailto:support@beeminder.com) (please never feel bad about asking for that, especially when it’s due to a bug like this – that makes it a highly valuable test case for debugging!)

---

<div class="post-metadata">

**Author:** ![kenoubi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/kenoubi/32/842_2.png) [@kenoubi](https://forum.beeminder.com/u/kenoubi)\
**Post date:** [January 11, 2018, 1:42pm UTC](https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696/6 "2018-01-11T13:42:46Z")

</div>

Don’t worry, I’d have emailed support long ago if it were urgent. More interested in leaving this around as a test case (and/or hall-of-shame entry re: [Feature Bounty: yellow brick halfplane](http://forum.beeminder.com/t/feature-bounty-yellow-brick-halfplane/3465/3), which this seems related to).

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [January 18, 2018, 10:57pm UTC](https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696/7 "2018-01-18T22:57:49Z")

</div>

We think we fixed this! [http://beeminder.com/changelog#2535](http://beeminder.com/changelog#2535)

---

<div class="post-metadata">

**Author:** ![kenoubi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/kenoubi/32/842_2.png) [@kenoubi](https://forum.beeminder.com/u/kenoubi)\
**Post date:** [January 24, 2018, 11:25pm UTC](https://forum.beeminder.com/t/why-isnt-this-edit-allowed/3696/8 "2018-01-24T23:25:46Z")

</div>

I can confirm that an analogous edit was just allowed.
