← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 701115] [NEW] Template error when team has no name

 

Public bug reported:

on the page http://localhost:8000/teams/<team-slug> where the team has
no name (as far not seen in live database) i got the following error

Exception Type: 	TemplateSyntaxError
Exception Value: 	Caught AttributeError while rendering: 'NoneType' object has no attribute 'replace'


In template loco_directory/templates/teams/team_detail.html, error at line 4
{% block title %}{% trans team.name %} | {% trans "Ubuntu LoCo Team Directory" %} {% endblock %}

** Affects: loco-directory
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.
https://bugs.launchpad.net/bugs/701115

Title:
  Template error when team has no name

Status in LoCo Directory:
  New

Bug description:
  on the page http://localhost:8000/teams/<team-slug> where the team has no name (as far not seen in live database) i got the following error

Exception Type: 	TemplateSyntaxError
Exception Value: 	Caught AttributeError while rendering: 'NoneType' object has no attribute 'replace'


In template loco_directory/templates/teams/team_detail.html, error at line 4
{% block title %}{% trans team.name %} | {% trans "Ubuntu LoCo Team Directory" %} {% endblock %}





Follow ups

References