RBTools API: Fix root template URLs and construction of list items

Review Request #3318 — Created Aug. 30, 2012 and submitted — Latest diff uploaded

Information

RBTools
api

Reviewers

The regex for using the templates in the root resource was failing when the template contained more than one variable. The new regex matches properly.

A blank URL was being passed to item resources constructed from a list resource. This caused issues with some of the custom methods in resource specific base classes. A proper URL will now be guessed from the items self link.