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

a tiny typo in tgext.crud get_all method #24

Open
GoogleCodeExporter opened this issue Mar 12, 2015 · 1 comment
Open

a tiny typo in tgext.crud get_all method #24

GoogleCodeExporter opened this issue Mar 12, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a tg2 crudrestcontroller 
2. install tw.dojo
3. use the default table filler with get_all method
4. Add some records to db

What is the expected output? What do you see instead?
You are supposed to see some records in your table with the default get_all
method, but there are now records listed. 


What version of the product are you using? On what operating system?
Trunk. 

Please provide any additional information below.
The bug is located on line 102 in tgext.crud.controller.py. The values
attribute is always given as an empty list if tw.dojo is installed. The
problem is probably only the indentation.

Please see the attached file for a fix-proposal.


Original issue reported on code.google.com by [email protected] on 1 Apr 2009 at 11:35

Attachments:

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

No branches or pull requests

1 participant