Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (706 - 708 of 2152)

Ticket Resolution Summary Owner Reporter
#1078 fixed Refactors WUI controllers and forms to use logic layer kindly rgrp

Reported by rgrp, 3 years ago.

Description
  • Deserialize forms to new dict format.
  • Replace controllers/forms to use dictization.
#1079 fixed Refactor API to use new logic layer and dictization kindly rgrp

Reported by rgrp, 3 years ago.

Description
  • Convert current api saves to the new standard dict format.
#1106 fixed Bugs related to routes arising from API refactor + removal of default routes rgrp rgrp

Reported by rgrp, 3 years ago.

Description

Various bugs I've been encountering:

Latter issue was masked by existence of 'default' routes:

   map.connect('/{controller}', action='index')
   map.connect('/:controller/{action}')
   map.connect('/{controller}/{action}/{id}')

Having these is, I think, bad practice as it is better to be explicit and we should therefore remove asap.

In addition I think we should be cautious about 'default' routes in core such as:

    map.connect('/api/rest/:register', controller='api', action='list',
        conditions=dict(method=['GET'])
        )

As it makes it harder for extensions to introduce their own APIs (here one could perhaps add something at /api/rest/{my-object} but only by using before_map rather than after_map).

Note: See TracQuery for help on using queries.