This seems to be a rather strange issue, since I'm a 100 % certain it
worked and that I didn't change any related code.

When doing a signup that is rejected allowed (username taken, empty
password field, etc.) the user will get redirect to the new action.
Surprisingly this fails with the following error:

"user_url failed to generate from
{:controller=>"users", :action=>"show", :id=>#<User id: nil, login:
"", ....."

This can be traced to a line in base_helper.rb/page_title:
   when 'users'
     if @user and @user.login
        title = @user.login
        title += ', expert in ' + @user.offerings.collect{|o|
o.skill.name }.join(', ') if @user.vendor? and [email protected]?
        title += ' &raquo; ' + app_base + tagline
        @canonical_url = user_url(@user)
  .....

So what happens is, that the if condition is fulfilled and the code
therefore executed. Did I miss some update or whatsoever? This code,
as far as I can see, hasn't changed recently (last 2 month).

Regards
  jak4
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to