General Error on Move Legal Reference Manual Items

Bug #598560 reported by JimPGlenn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KARL3
Fix Released
Medium
Carlos de la Guardia

Bug Description

I'm getting a "General KARL Error" (using both IE and Firefox) when I try to move certain items in the Legal reference manual (https://karl.soros.org/offices/nyc/referencemanuals/legal). If I try to change the order of items in certain sections (such as "Consultancy Agreements" or "Charts" [there may be others as well]), I get a General KARL Error. If I try to change the order of items in other sections (such as "Office of the General Counsel"), then it works as expected with no error. Both KARL Admins and New York Legal Admins (the GSA security group with permissions to edit this manual) see the General Error on the same items when they try to move them. Please take a look.

Thanks,

Nat

Tags: karl-support
Revision history for this message
JimPGlenn (jpglenn09) wrote :
Changed in karl3:
importance: Undecided → Low
tags: added: karl-support
Changed in karl3:
assignee: nobody → Carlos de la Guardia (cguardia)
importance: Low → Medium
milestone: none → m42
Revision history for this message
Jim B. Glenn (jimbglenn) wrote :

Error at Fri Jun 25 17:26:47 2010

Traceback (most recent call last):
  File "/opt/karl/osi/karl3/eggs/repoze.errorlog-0.7-py2.5.egg/repoze/errorlog/__init__.py", line 85, in __call__
    return self.application(environ, start_response)
  File "/opt/karl/osi/karl3/src/karl/karl/errorlog.py", line 15, in middleware
    return app(environ, start_response)
  File "/opt/karl/osi/karl3/eggs/repoze.zodbconn-0.11-py2.5.egg/repoze/zodbconn/connector.py", line 21, in __call__
    result = self.next_app(environ, start_response)
  File "/opt/karl/osi/karl3/eggs/repoze.retry-0.9.4-py2.5.egg/repoze/retry/__init__.py", line 88, in __call__
    app_iter = self.application(environ, replace_start_response)
  File "/opt/karl/osi/karl3/eggs/repoze.tm2-1.0a5-py2.5.egg/repoze/tm/__init__.py", line 23, in __call__
    result = self.application(environ, save_status_and_headers)
  File "/opt/karl/osi/karl3/eggs/Paste-1.7.2-py2.5.egg/paste/registry.py", line 350, in __call__
    app_iter = self.application(environ, start_response)
  File "/opt/karl/osi/karl3/eggs/repoze.who-1.0.15-py2.5.egg/repoze/who/middleware.py", line 107, in __call__
    app_iter = app(environ, wrapper.wrap_start_response)
  File "/opt/karl/osi/karl3/eggs/repoze.browserid-0.3-py2.5.egg/repoze/browserid/middleware.py", line 127, in __call__
    return self.app(environ, start_response)
  File "/opt/karl/osi/karl3/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/router.py", line 130, in __call__
    response = view_callable(context, request)
  File "/opt/karl/osi/karl3/eggs/repoze.bfg-1.2-py2.5.egg/repoze/bfg/configuration.py", line 1753, in _secured_view
    return view(context, request)
  File "/opt/karl/osi/karl3/src/karl/karl/content/views/references.py", line 173, in reference_outline_view
    status_message = move_subpath(context, subpath, direction)
  File "/opt/karl/osi/karl3/src/karl/karl/content/views/references.py", line 155, in move_subpath
    raise KeyError(name)
KeyError: u's.-government-officials'

'REQUEST_URI': '/offices/nyc/referencemanuals/legal/?subpath=.osi-s-private-operating-foundation-status.payments-to-u.s.-government-officials&direction=up',

Revision history for this message
Carlos de la Guardia (cguardia) wrote :

I thought the problem was only for filenames with extensions, but many titles in manual sections and pages also use dots, so it became necessary to change the subpath separator in up/down moves to '|' and fix the tests accordingly. Let's hope they don't go crazy with '|' in titles.

Changed in karl3:
status: New → Fix Committed
Revision history for this message
JimPGlenn (jpglenn09) wrote :

fixed

Changed in karl3:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.