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

Problem with creating make_user_role_table #13

Open
d21d3q opened this issue Apr 11, 2017 · 0 comments · Fixed by #14
Open

Problem with creating make_user_role_table #13

d21d3q opened this issue Apr 11, 2017 · 0 comments · Fixed by #14

Comments

@d21d3q
Copy link
Contributor

d21d3q commented Apr 11, 2017

I've just cloned your repository and tried do run tests locally and they've failed. I've run build on travis and it also failed.

edit:
I found problem here:
user_role_table = make_user_role_table(self.__tablename__, self._id_column_name)
calling self._id_column_name returns proxy object instead of column name (which is being found correctly).
I changed that line to
user_role_table = make_user_role_table(self.__tablename__, self._id_column_name.fget(self))
and build passes, but I am not sure if that fget() can be here called with self

@d21d3q d21d3q changed the title build fails Problem with obtaining UserMixin id_column_name Apr 12, 2017
@d21d3q d21d3q changed the title Problem with obtaining UserMixin id_column_name Problem with creating make_user_role_table Apr 12, 2017
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

Successfully merging a pull request may close this issue.

1 participant