This site is an archive; learn more about 8 years of OpenHatch.

[Devel] Bug tracker is failing on basic actions

Asheesh Laroia asheesh at asheesh.org
Sun Dec 19 04:11:42 UTC 2010


On Sat, 18 Dec 2010, Jessica McKellar wrote:

> Confirmed!

FWIW, I had to apply one more patch to make user registration work:

diff --git a/html/page.html b/html/page.html
index 8d3d24d..7638154 100644
--- a/html/page.html
+++ b/html/page.html
@@ -169,7 +169,7 @@ current_milestone string:0.10.12;
      <input type="hidden" name="__came_from" tal:attributes="value 
string:${request/base}${request/env/PATH_INFO}">
      <span tal:replace="structure request/indexargs_form" />
      <a href="user?@template=register"
-       tal:condition="python:request.user.hasPermission('Create', 
'user')"
+       tal:condition="python:request.user.hasPermission('Register', 
'user')"
       i18n:translate="">Register</a><br>
      <a href="user?@template=forgotten" 
i18n:translate="">Lost&nbsp;your&nbsp;login?</a><br>
     </p>

My mail client might wrap this patch weirdly. Maybe *that*'s the reason to 
have not-super-wide lines in code.

-- Asheesh.


More information about the Devel mailing list