#878 open
Peter Ehrlich

name-one cleared on assication name not found

Reported by Peter Ehrlich | November 28th, 2010 @ 06:58 PM | in Hobo 1.1

With a belongs_to association, if you take your string input (called a 'view' here) and replace it with the most basic Rapid basic text field:

<category-view:><name-one/></category-view:>

When the form is submitted with any invalid attribute, the text inputted (er, viewed) here is cleared. It shouldn't be, because the user needs to resubmit the form later on. Furthermore, this is particularly troublesome when one is trying to use the filter chain to change those parameters into IDs.

PS: When autocomplete fails (server not able to handle), for some reason all the text on the page becomes bolded.

hobo 1.1.0.pre2
ruby 1.8.7
rails 2.3.8

Comments and changes to this ticket

  • Domizio Demichelis

    Domizio Demichelis December 19th, 2010 @ 05:56 PM

    • Milestone set to Hobo 1.3 (Rails 3)
    • State changed from “new” to “open”
    • Assigned user set to “Domizio Demichelis”
    • Milestone order changed from “197926” to “0”

    Please, could you post the minimal code to reproduce it. Please, install the latest 1.3 version first. thanks

  • Domizio Demichelis

    Domizio Demichelis February 16th, 2011 @ 11:35 PM

    • Milestone changed from Hobo 1.3 (Rails 3) to Hobo 1.1
    • Assigned user changed from “Domizio Demichelis” to “Bryan Larsen”
    • Milestone order changed from “39” to “0”

    sorry for the original wrong assignment... the 'pre' made me think about 'my' pre :-)

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Pages