[Zope] Tracker weirdness

Holger Lehmann lehmann@catworkx.de
Wed, 6 Sep 2000 12:05:48 +0200


Hi everyone :-)

I am trying (desperately) to use a Tracker on my own site. So I checked one out
of CVS and started using it.
I created some users for my website with their very own roles.

Now when one of those users tries to view the issues listed in the Tracker
(like someone would do on www.zope.org) we just get an error:

(sorry about the lenghty posting)
-----------------------------------------
  Unauthorized

  You are not authorized to access issueSummaryRows. 

  Traceback (innermost last):
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply
      (Object: index_html)
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object
      (Object: index_html)
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 167, in __call__
      (Object: index_html)
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__
      (Object: index_html)
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Let.py, line 147, in render
      (Object: criteria="{'type': 'tracker_issue'}"
  default_batch_size="trackerpref(pref='batch_size', default=10,
                                  REQUEST=REQUEST)"
                                  
     refine_defaults="[('refine_show', 'Close Advanced Search'),
                                  ('refine_type', 'strict'),
                                  ('any', ''),
                                  ('public', 'ON'),
                                  ('private', 'ON'),
                                  ('requester', []),
                                  ('supporter', []),
                                  ('priority', []),
                                  ('stage', ['pending', 'accepted']),
                                  ('batch_size', default_batch_size)]"
                init="(not REQUEST.get('refine_mode', ())
                       or REQUEST.get('refine_vanilla', ()))"
                type="(((REQUEST.get('refine_show', ())
                         == 'Close Advanced Search') and 'simple')
                       or ((REQUEST.get('refine_show', ())
                            == 'Open Advanced Search') and 'elaborate')
                       or REQUEST.get('refine_mode', 'simple'))"
                didb="_.has_key('did_basic')"
                didt="_.has_key('did_traitvalues')"
                topp="REQUEST.get('topprev', 0)"
                topn="REQUEST.get('topnext', 0)"
                topc="REQUEST.get('topbatchchange', 0)"
           topretain="REQUEST.get('topbatchretain', 0)"
                 top="(topp or topn)"
                botp="REQUEST.get('bottomprev', 0)"
                botn="REQUEST.get('bottomnext', 0)"
                botc="REQUEST.get('bottombatchchange', 0)"
           botretain="REQUEST.get('bottombatchretain', 0)"
                 bot="(botp or botn)"
    batch_last_start="REQUEST.get('batch_last_start', 0)"
      batch_last_end="REQUEST.get('batch_last_end', 0)"
      cur_batch_size="_.max(1,
                            ((top and REQUEST.get('batch_size_top', 0))
                             or (bot and REQUEST.get('batch_size_bottom', 0))
                             or (topc and REQUEST.get('batch_size_top', 0))
                             or (botc and REQUEST.get('batch_size_bottom', 0))
                             or REQUEST.get('batch_size', default_batch_size)))
                      or 15"
           direction="((topp or botp) and -1)
                      or ((topn or botn) and 1)
                      or 0")
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Let.py, line 147, in render
      (Object: got="issuesSearch(this(), criteria, REQUEST=REQUEST)"
         currents="got[0]"
        numpriors="got[1]"
        numafters="got[2]"
       totmatches="_.len(currents) + numpriors + numafters"
           simple="REQUEST.get('refine_show', ()) == 'Close Advanced Search'")
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_With.py, line 133, in render
      (Object: _(isr = currents[0].issueSummaryRows,
                     elements=currents))
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval
      (Object: _(isr = currents[0].issueSummaryRows,
                     elements=currents))
      (Info: currents)
    File <string>, line 0, in ?
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 140, in careful_getattr
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 189, in validate
      (Object: index_html)
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/AccessControl/SecurityManager.py, line 139, in validate
    File /usr/local/Zope-2.2.0-linux2-x86/lib/python/AccessControl/ZopeSecurityPolicy.py, line 209, in validate
  Unauthorized: (see above)
-----------------------------------------
Anyone got an idea or solution for that ? I even CVS'ed me the latest code an
gave it a try, same error

- Holger

-- 
-----------------------------------
catWorkX GmbH Hamburg
Dipl.-Ing. Holger Lehmann
Stresemannstr. 364
22761 Hamburg
Tel: +49 40 890 646-0
Fax: +49 40 890 646-66
mailto:lehmann@catworkx.de
http://www.catworkx.de
http://www.catbridge.de