Bug #313
View.current does not return properly updated object
Status:
Rejected
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
02/26/2013
Due date:
% Done:
0%
Estimated time:
0.00 h
Description
Hi,
just found a possible bug after playing with Subtlext::View instances.
irb> Subtlext::View.current
=> terms
irb> Subtlext::View.list[0]
=> terms
irb> Subtlext::View.current.id
=> 0
irb> Subtlext::View.list[0].id
=> 0
irb> Subtlext::View.list[0].tags
=> [default, terms]
irb> Subtlext::View.current.tags
TypeError: no implicit conversion from nil to integer
from (irb):142:in `tags'
from (irb):142
from /usr/bin/irb:12:in `<main>'
So it seems Subtlext::View.current method fails to update tags variable for the returning object.
History
#1
Updated by Christoph Kappel almost 8 years ago
- Status changed from Unconfirmed to Rejected
Working properly on current version.