Defect #7170
Custom attribute in REST response breaks ActiveResource
Status: | Closed | Start date: | 2010-12-24 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Resolution: | Wont fix | Affected version: |
Description
For example in User api :
<users type="array" total_count="3" limit="25" offset="0">
These 3 attributes break the active resource parsing :
can't typecast "1" ....
Déjà vu ;)
History
#1
Updated by Yohann Monnier about 12 years ago
Maybe these attributes could be optional ?
OR
We could unactivate it through a parameter..
#2
Updated by Jean-Philippe Lang about 12 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
Redmine offers a way to get responses without these attributes.
See Rest_api#Collection-resources-and-pagination.