Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting a CheckRow type crashes the app #210

Open
kapso opened this issue Apr 25, 2014 · 5 comments
Open

Selecting a CheckRow type crashes the app #210

kapso opened this issue Apr 25, 2014 · 5 comments

Comments

@kapso
Copy link

kapso commented Apr 25, 2014

I am using the following row type - https://github.com/clayallsopp/formotion/wiki/List-of-all-the-row-types#check

When I select a row, it crashes the app. Here's the error stack -

(main)> 2014-04-24 21:08:35.444 Doorman[52317:70b] kvo.rb:77:in `observeValueForKeyPath:ofObject:change:context:': Invalid Reference - probably recycled (WeakRef::RefError)
    from check_row.rb:31:in `block in on_select:'
    from check_row.rb:30:in `on_select:'
    from base.rb:70:in `_on_select:'
    from form_delegate.rb:95:in `tableView:didSelectRowAtIndexPath:'
2014-04-24 21:08:35.458 Doorman[52317:70b] *** Terminating app due to uncaught exception 'WeakRef::RefError', reason: 'kvo.rb:77:in `observeValueForKeyPath:ofObject:change:context:': Invalid Reference - probably recycled (WeakRef::RefError)
    from check_row.rb:31:in `block in on_select:'
    from check_row.rb:30:in `on_select:'
    from base.rb:70:in `_on_select:'
    from form_delegate.rb:95:in `tableView:didSelectRowAtIndexPath:'

Gemfile:

gem "formotion", "1.7"
gem "ProMotion-formotion", "0.1.1"
gem "ProMotion", github: "clearsightstudio/ProMotion", branch: "edge"
@clayallsopp
Copy link
Owner

Hi there, I've been investigating this problem. Does this crash occur when you're editing a subform of some kind?

@kapso
Copy link
Author

kapso commented Apr 28, 2014

No not a subform. Thanks for debugging this.

@kapso
Copy link
Author

kapso commented Apr 28, 2014

@clayallsopp any updates on this?

@clayallsopp
Copy link
Owner

Nope, I probably won't make more progress on it for a few more days sorry

@clayallsopp
Copy link
Owner

@kapso check this comment and see if it also mitigates the problem for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants