Re: [web2py] plugin_mptt seems broken under 2.2.1

2013-04-07 Thread MJo
On Monday, November 19, 2012 10:45:36 PM UTC+2, Richard wrote:

 ...

 Some tests doesn't pass in plugin_mptt, mainly :

 ...

  AttributeError: 'Row' object has no attribute 'name'


I tried to put 'name'-field to plugin_mptt_node-table (it got inserted to 
sqlite_sequence table) but still failing. I also changed  
controllers/plugin_mptt.py file to use filesystem instead of RAM: 

db = DAL http://127.0.0.1:8000/examples/global/vars/DAL('sqlite://storage.db')

but no joy :(

Is web2py/sqlite changed somehow to ruin this nice plugin? If some one got lost 
http://dev.s-cubism.com/plugin_mptt is the plugin here.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] plugin_mptt seems broken under 2.2.1

2012-11-19 Thread Richard
Hello,

Some tests doesn't pass in plugin_mptt, mainly :

line 288, in test_move_child_up_level
node11 node9 2 1 4 5)

controllers/plugin_mptt.py, line 40, in asserTree
for node in nodes]),
AttributeError: 'Row' object has no attribute 'name'


controllers/plugin_mptt.py, line 256, in test_move_leaf_to_other_tree
node11 node9 2 1 4 5)


controllers/plugin_mptt.py, line 40, in asserTree
for node in nodes]),
AttributeError: 'Row' object has no attribute 'name'


It seems to be all the same problem...


Richard

--