This is an automated notification sent by LCG Savannah.
It relates to:
                task #7912, project CDS Invenio

==============================================================================
 OVERVIEW of task #7912:
==============================================================================

URL:
  <http://savannah.cern.ch/task/?7912>

                 Summary: WebGroup: Adding new group with an already existing
name
                 Project: CDS Invenio
            Submitted by: jcaffaro
            Submitted on: 2008-09-25 10:00
         Should Start On: 2008-09-25 00:00
   Should be Finished on: 2008-09-25 00:00
                Category: None
                Priority: 7 - High
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________


WebGroup produces a traceback when one adds a new group with an already
existing group name:

Mod_python error: "PythonHandler invenio.webinterface_layout"

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.4/site-packages/invenio/webinterface_handler.py",
line 320, in _profiler
    return _handler(req)

  File "/usr/lib/python2.4/site-packages/invenio/webinterface_handler.py",
line 362, in _handler
    return root._traverse(req, path, False, guest_p)

  File "/usr/lib/python2.4/site-packages/invenio/webinterface_handler.py",
line 207, in _traverse
    return obj._traverse(req, path, do_head, guest_p)

  File "/usr/lib/python2.4/site-packages/invenio/webinterface_handler.py",
line 226, in _traverse
    result = _check_result(req, obj(req, form))

  File "/usr/lib/python2.4/site-packages/invenio/websession_webinterface.py",
line 896, in create
    ln = argd['ln'])

  File "/usr/lib/python2.4/site-packages/invenio/webgroup.py", line 209, in
perform_request_create_group
    join_policy)

  File "/usr/lib/python2.4/site-packages/invenio/webgroup_dblayer.py", line
221, in insert_new_group
    res1 = run_sql(query1, params1)

  File "/usr/lib/python2.4/site-packages/invenio/dbquery.py", line 231, in
run_sql
    rc = cur.execute(sql, param)

  File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 163, in
execute
    self.errorhandler(self, exc, value)

  File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 35, in
defaulterrorhandler
    raise errorclass, errorvalue

IntegrityError: (1062, "Duplicate entry 'INTERNAL-test' for key 2")



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
2407                                | -SUB-




==============================================================================

This item URL is:
  <http://savannah.cern.ch/task/?7912>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/


Reply via email to