ember-cli-101-errata icon indicating copy to clipboard operation
ember-cli-101-errata copied to clipboard

Friend cancel action creates null object.

Open DavidVII opened this issue 10 years ago • 1 comments

I just noticed something else that's a bit strange. If I got to friends.new and hit cancel. I'm redirected back to friends.index as expected. Only it seems there is a new, non persisted object in memory. Is there a way to clear this out? Once I refresh, it's gone. If I go to friends.new and cancel multiple times, then a new undefined object keeps coming up.

undefined

multi

DavidVII avatar Jan 18 '15 08:01 DavidVII

Thanks! this is actually intentional, if you continue going through I'll show you later how to solve that issue.

This has been mentioned by different people, so I will add a note mentioning the problem and a cross sections link to the solution.

abuiles avatar Jan 20 '15 15:01 abuiles