The behavior or the record_id attribute in the Record class is not consistent.
Bug #490343 reported by
Manuel de la Peña
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
Undecided
|
Manuel de la Peña |
Bug Description
When working with a Record class the following behavior can be found:
>> record = Record(
>> print str(record.
None
>> db = CouchDatabase(
>> print str(db.
'someid'
The record_id should used the data in the dict rather than None if possible.
Related branches
lp:~mandel/desktopcouch/record_id
Merged
into
lp:desktopcouch
- Chad Miller (community): Approve
- Guillermo Gonzalez: Pending requested
-
Diff: 44 lines (+15/-4)2 files modifieddesktopcouch/records/record.py (+3/-3)
desktopcouch/records/tests/test_record.py (+12/-1)
Changed in desktopcouch: | |
assignee: | nobody → Mandel (mandel) |
status: | New → Confirmed |
Changed in desktopcouch: | |
status: | Confirmed → In Progress |
Changed in desktopcouch: | |
milestone: | none → 0.6 |
Changed in desktopcouch: | |
status: | In Progress → Fix Committed |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.