# Bug in role/\_form.rhtml, patch here

**URL:** <https://www.ruby-forum.com/t/bug-in-role-form-rhtml-patch-here/89718>\
**Category:** Engines Development\
**Created:** [March 29, 2006, 4:05am UTC](https://www.ruby-forum.com/t/bug-in-role-form-rhtml-patch-here/89718 "2006-03-29T04:05:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wolfmanjm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/3da27b/32.png) [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Post date:** [March 29, 2006, 4:05am UTC](https://www.ruby-forum.com/t/bug-in-role-form-rhtml-patch-here/89718/1 "2006-03-29T04:05:45Z")

</div>

Hi I don’t have access to the new bug system, so here is a patch to fix  
a bug in the roles edit form, basically the table header and the table  
body ended up getting out of sync due to one being sorted and the other  
not, its a one liner fix as shown below.

\*\*\* …/…/svnengines/user\_engine/app/views/role/\_form.rhtml  
2006-03-27 16:45:59.000000000 -0800  
— vendor/plugins/user\_engine/app/views/role/\_form.rhtml  
2006-03-28 17:59:50.733427091 -0800

* * *

\*\*\* 15,21 \*\*\*\*

  

! \<% @all\_actions.each\_key do |controller\_name|  
controller\_id = controller\_name.gsub("/", “\_”)  
#perms\_id = controller\_id + “\_perms”  
%\>  
— 15,21 ----

|
| |

  

! \<% @all\_actions.keys.sort.each do |controller\_name|  
controller\_id = controller\_name.gsub("/", “\_”)  
#perms\_id = controller\_id + “\_perms”  
%\>

|
| |

---

<div class="post-metadata">

**Author:** ![wolfmanjm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/3da27b/32.png) [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Post date:** [March 29, 2006, 10:15am UTC](https://www.ruby-forum.com/t/bug-in-role-form-rhtml-patch-here/89718/2 "2006-03-29T10:15:12Z")

</div>

Can you describe the problem you had accessing the Collaboa site?

- james

On 3/29/06, Jim M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> \*\*\* 15,21 \*\*\*\*
> 
> [http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org)

–

- J \*  
~

---

<div class="post-metadata">

**Author:** ![wolfmanjm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/3da27b/32.png) [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Post date:** [March 29, 2006, 10:17am UTC](https://www.ruby-forum.com/t/bug-in-role-form-rhtml-patch-here/89718/3 "2006-03-29T10:17:49Z")

</div>

James A. wrote:

> Can you describe the problem you had accessing the Collaboa site?
> 
> - james
> 
> On 3/29/06, Jim M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > \*\*\* 15,21 \*\*\*\*
> > 
> > [http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org)
> 
> –
> 
> - J \*  
> ~

For some reason I was unable to reach it last night, I can try again,  
but I also haven’t registered there yet.

---

<div class="post-metadata">

**Author:** ![wolfmanjm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/3da27b/32.png) [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Post date:** [March 29, 2006, 10:30am UTC](https://www.ruby-forum.com/t/bug-in-role-form-rhtml-patch-here/89718/4 "2006-03-29T10:30:03Z")

</div>

James A. wrote:

> Can you describe the problem you had accessing the Collaboa site?
> 
> - james
> 
> On 3/29/06, Jim M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > \*\*\* 15,21 \*\*\*\*
> > 
> > [http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org)
> 
> –
> 
> - J \*  
> ~

I still cannot access this site [https://dev.rails-engines.org/](https://dev.rails-engines.org/) I get an  
“unable to connect error”. That is the link from the  
[http://rails-engines.org/bugs](http://rails-engines.org/bugs) page.

However I do seem to be able to get to the create new ticket link, so  
I’ll do that.

---

<div class="post-metadata">

**Author:** ![wolfmanjm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/3da27b/32.png) [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Post date:** [March 29, 2006, 10:35am UTC](https://www.ruby-forum.com/t/bug-in-role-form-rhtml-patch-here/89718/5 "2006-03-29T10:35:18Z")

</div>

That was a mistype on the wiki page (which I just corrected) - it’s  
only HTTP, not HTTPS.

Cheers!

- james

On 3/29/06, Jim M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > 
> 
> I’ll do that.
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> engine-developers mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org)

–

- J \*  
~
