Taken

#0029 Editing converted user  

An error occured when I tried to edit an existing user that had been converted from a standard user folder to an IssueTracker User Folder.


--------------------------------------------------
Error type: TypeError
Error value: iterable argument required

Traceback (innermost last):
Module ZPublisher.Publish, line 101, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 39, in call_object
Module AccessControl.User, line 939, in manage_users
Module Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module App.special_dtml, line 175, in _exec
Module DocumentTemplate.DT_In, line 703, in renderwob
Module DocumentTemplate.DT_Util, line 198, in eval
- __traceback_info__: user
Module <string>, line 0, in ?
TypeError: iterable argument required

Bug Reporting File
2005/03/09 15:37:23.614 GMT+0

Error type: TypeError
Error value: iterable argument required

IssueTrackerProduct version: 0.6.5
Zope: (Zope 2.7.3-0, python 2.3.4, win32)
Python: 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]
Platform: win32

Submitted by: <Simon>
09-Mar 2005
6 years and 11 months and 2 days old
Sections:Core code
Type:bug report
Urgency:normal
Added Issue followup   -   <Peter Bengtsson> permanent link

I can't reproduce this one. I...

  • created a standard User Folder object
  • created a user in there with role Manager
  • went back into the folder which holds the user folder
  • created an Issue User Folder
  • said that I wanted to keep the one user I had in there
  • entered an email for him and created the Issue User Folder
  • went back to change the email address

All went fine. I have linux but the same versions for Zope and Python as your bug report.

Any more hints on how to solve it? Can you try to wrap up the whole traceback with REQUEST and everything for me?

(if you feel so so about showing this, how about sending it via email to me personally?)

23-Mar 2005
 
Changed status from Open to Taken   -   <Peter Bengtsson> permanent link

just changing the status

23-Mar 2005
 
Added Issue followup   -   <Simon> permanent link

That might be tricky, only in that the Issue Trackers it happened on existed prior to the 0.6.5 update, I'll see if I have an old dead one around I can test with.

23-Mar 2005
 
Added Issue followup   -   <Simon> permanent link

I have an existing Issue Tracker which just has too many users without email addresses to make me bother converting up to now, apart from the bug I appeared to have.

I copied that Issue Tracker, Added a IT User folder to it, added in some email addresses (it would be better if keep were automatically updated if an email addresses was added) and then let it create it which it did without error.

If keep is selected without a valid email address then a fairly ugly error page gets put up.

I imagine the original error was caused by some weirdness within that Issue Tracker or that ACL folder. And as neither of us can now reproduce it, mark it as Closed.

23-Mar 2005
 
Added Issue followup   -   <Peter Bengtsson> permanent link

thank you. your help is appreciated.

23-Mar 2005
 
Added Issue followup   -   <Simon> permanent link

Ah I spoke too soon. The error is in then going into the User Folder and then editing one of the converted users, when I get the exact problem as above.

http://............/tfhIssues/acl_users/ma...=jonathan&submit=Edit

Is the actual request, obfuscated a little.

23-Mar 2005
 
Added Issue followup   -   <Simon> permanent link

The cause is that the user it fails on post the copy doesn't have a role explicitly set.

23-Mar 2005
 
Added Issue followup   -   <Simon> permanent link

In other words, the fix would be to assume a role of Issuetrack user in the absence of one.

23-Mar 2005
 
 

Name:
Email:
Spambot prevention:number?number?number?number? enter these numbers
(<Simon>, <Peter Bengtsson>)more options
Tell a Friend [with more options]

Subscription to changes

 
 

Recent issues