question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transitioning during signup while photo is uploading fails

See original GitHub issue

Problem

  • When on start/hello, started uploading a photo.
  • Hit submit button to transition to start/interests.
  • Successful transition to start/interests.
  • Photo finishes uploading and Ember tries to PATCH /users/:id.
  • User has the following attributes:
{
  "data": {
    "attributes": {
      "cloudinary-public-id": "gogsd44pqghib04nk0fz",
      "state": "edited_profile",
      "state-transition": "edit_profile"
    },
  }
}

This results in a 422 error because we’re attempting to transition from edited_profile to edited_profile via the edit_profile transition, which is not allowed.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
snewcomercommented, Mar 8, 2017

I will finish this today.

1reaction
joshsmithcommented, Feb 25, 2017

@snewcomer there are tests in acceptance onboarding, I believe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I'm experiencing problems when I try to upload ... - FamilyAlbum
I'm experiencing problems when I try to upload a photo or video, such as my upload stopping. · - Restart your device ·...
Read more >
5 Easy Steps to Fix an Http Error When Uploading Images to ...
Step 1 Find Out If the HTTP Error is Temporary; Step 2 Rename Your Files; Step 3 Add Code to Modify WordPress Image...
Read more >
6 Reasons Why Photos Are Not Uploading To Google Photos
If it shows Pause Syncing& it means sync is working& but it might be that you haven't selected photos to sync. ... Step...
Read more >
Automatic photo upload not working on Android Pixel 6
1) Toggling photo backup off and on (several times) · 2) Purging the app cache, forcing a re-login · 3) Logged out, logged...
Read more >
"Unable to upload photo" error at every post i attempt to make
I've had this issue for a while and I just figured something out that worked, instead if uploading your photos from gallery, do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found