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

Update meteor 1.4 #1

Open
lc3t35 opened this issue Feb 5, 2017 · 4 comments
Open

Update meteor 1.4 #1

lc3t35 opened this issue Feb 5, 2017 · 4 comments

Comments

@lc3t35
Copy link

lc3t35 commented Feb 5, 2017

Hi Alberto,

I've tryed to update to meteor 1.4, but I have some issuesmaybe with meteor-connect, I send you a PR from my forked repo (https://github.com/lc3t35/meteor-redux-form-example) branch update1.4

Here are the warning and errors

Warning: Failed prop type: Invalid prop `fields` of type `array` supplied to `SubmitValidationForm`, expected `object`.
    in SubmitValidationForm (created by Form(SubmitValidationForm))
    in Form(SubmitValidationForm) (created by Connect(Form(SubmitValidationForm)))
    in Connect(Form(SubmitValidationForm)) (created by ReduxForm)
    in ReduxForm (created by ConnectMeteor(ReduxForm))
    in PureRenderFilter (created by ConnectMeteor(ReduxForm))
    in ConnectMeteor(ReduxForm) (created by Connect(ConnectMeteor(ReduxForm)))
    in Connect(ConnectMeteor(ReduxForm)) (created by App)
    in div (created by App)
    in App (created by RouterContext)
    in div (created by Layout)
    in Layout (created by RouterContext)
    in RouterContext (created by Router)
    in Router
    in Providermodules.js:5173:9

Warning: Failed prop type: The prop `resetForm` is marked as required in `SubmitValidationForm`, but its value is `undefined`.
    in SubmitValidationForm (created by Form(SubmitValidationForm))
    in Form(SubmitValidationForm) (created by Connect(Form(SubmitValidationForm)))
    in Connect(Form(SubmitValidationForm)) (created by ReduxForm)
    in ReduxForm (created by ConnectMeteor(ReduxForm))
    in PureRenderFilter (created by ConnectMeteor(ReduxForm))
    in ConnectMeteor(ReduxForm) (created by Connect(ConnectMeteor(ReduxForm)))
    in Connect(ConnectMeteor(ReduxForm)) (created by App)
    in div (created by App)
    in App (created by RouterContext)
    in div (created by Layout)
    in Layout (created by RouterContext)
    in RouterContext (created by Router)
    in Router
    in Providermodules.js:5173:9

TypeError: username is undefined
app.js:290:1
NS_ERROR_NOT_CONNECTED: 
ddp-client.js:1380
@Acentelles
Copy link
Member

Hi @lc3t35
I will test it tomorrow, but I believe that the problem is that the version you are using on your pull request of redux-form is 6.5.0 and not 4.2.0 as it was previously.
Redux form has changed radically since we started using it and its API is totally different, too.

@lc3t35
Copy link
Author

lc3t35 commented Feb 5, 2017

Thank you, didn't noticed that as I upgraded with npm-check, i'll look at http://redux-form.com/6.5.0/docs/MigrationGuide.md/ ;)

@lc3t35
Copy link
Author

lc3t35 commented Feb 5, 2017

updated branch update1.4, but still some problem with username or password, submit ...

@saamalam
Copy link

http://localhost:3000/ coming blank. No console notifications etc.

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

3 participants