#1336 Fix 500 error on project registration

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2011-01-14
No

Not sure exactly how this is getting generated, but we're getting a lot of emails on add_project that end in sftheme/macro.html, line 14:

Module /var/local/sftheme/allura/sftheme/templates/sftheme/macro.html:14 in template
>>  <a href="/users/{{ username or '?user_id='+userid }}">{{name}}</a>
TypeError: cannot concatenate 'str' and 'ObjectId' objects

It looks like we might just need to use interpolation (%s) rather than concatenation. Confirm the cause of this and fix it.

Discussion

  • Rick Copeland - 2011-01-18
    • size: --> 1
     
  • Jenny Steele - 2011-01-19
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2011-01-19
    • status: in-progress --> closed
     

Log in to post a comment.