ajax functionality - part inside a field-view
Reported by Sam | May 23rd, 2011 @ 07:40 PM | in Hobo 1.3 (Rails 3)
I'm getting an error now in hobo 1.3 when calling a part that's
inside a field-view. It used to work in Hobo 1.0. The error is
ArgumentError (invalid typed-id: :myField):
I checked the log and it seems to be sending field_name instead of
this:field_name as in the past. Now it looks like this: Call part:
myPart. this-id = :myField, locals = []. In the past, it used to
be: Call part: myPart. this-id = this:myField, locals = [], so now
"this" is missing which I think causes find_by_typed_id to break
with the above error. I am not sure if this is an intentional
change. If it is, is there a workaround?
What I'm trying to achieve is similar to this recipe where there is
a part inside the city-view:
http://cookbook.hobocentral.net/recipes/15-dynamically-populated-se...
Comments and changes to this ticket
-
Matt Jones September 14th, 2011 @ 08:50 PM
- State changed from new to open
- Tag set to parts
- Milestone set to Hobo 1.3 (Rails 3)
- Milestone order changed from 197974 to 0
-
Bryan Larsen October 19th, 2011 @ 08:16 PM
- State changed from open to resolved
It appears that this was fixed in cef7f29e8bfc66a3b1ef0cbc2397fe8f9612b96b on July 4th.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 957 marshal context when cannot be loaded from database or isn't page_this I suspect #954 is linked to this.