Filters are currently being used

List Issues


# Issues: 4 (542 issues filtered out or hidden)  
Creation dateAscending order Sections Submitted by Urgency Type

Taken

An error occured when I tried to edit the properties tab in the ZMI


--------------------------------------------------
Error type: AttributeError
Error value: attachedFile_2

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 Shared.DC.Scripts.Bindings, line 306, in __call__
Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
Module Products.CheckoutableTemplates.CTFiles, line 265, in _exec
Module App.special_dtml, line 175, in _exec
Module DocumentTemplate.DT_With, line 76, in render
Module DocumentTemplate.DT_Let, line 75, in render
Module DocumentTemplate.DT_Util, line 198, in eval
- __traceback_info__: manage_findPotentialBrothers
Module <string>, line 0, in ?
Module Products.IssueTrackerProduct.IssueTracker, line 1067, in manage_findPotentialBrothers
Module Products.IssueTrackerProduct.IssueTracker, line 1094, in _getPotentialBrothers
Module Products.IssueTrackerProduct.IssueTracker, line 1094, in _getPotentialBrothers
Module Products.IssueTrackerProduct.IssueTracker, line 1094, in _getPotentialBrothers
Module Products.IssueTrackerProduct.IssueTracker, line 1077, in _getPotentialBrothers
Module OFS.ObjectManager, line 357, in objectValues
Module OFS.ObjectManager, line 244, in _getOb
AttributeError: attachedFile_2

Submitted by: <tidiouf>
29-Aug 2007
3 years and 13 days old
Sections: Installation
Type: bug report
Urgency: normal
Changed status from Open to Taken   -   <Peter Bengtsson> permanent link

I'll have a look.

29-Aug 2007
 
Added Issue followup   -   <Peter Bengtsson> permanent link

Any idea what attachedFile_2 is?

Can you figure out what's on line 1094 and line 1077 in your IssueTracker.py since it's different from my latest version now.

29-Aug 2007
 

 

Taken

I'm using the CVS version from Aug 16.

I have found a strange bug that I only noticed today. The 'submitted by' field of any new issues shows up as being submitted by me....or whoever is currently logged in.

I noticed it when my co-worker submitted an issue. If I am logged in, I see submitted by Greg Baker, however when my co-worker is logged in he sees it as submitted by himself.

There are a few issues that were submitted before I upgraded to the CVS version that this is also happening to. These issues were displaying blank entries for the submitted by field prior to the upgrade.

I'll investigate a little further and hopefully have more info soon. I assume that this error is related to the plone integration.

Submitted by: <Greg Baker>
24-Aug 2006
4 years and 2 weeks and 4 days old
Sections: Core code
Type: bug report
Urgency: normal
Added Issue followup   -   <Greg Baker> permanent link

A quick followup... The email I was sent (as notification) had the correct 'submitted by' information in it.

24-Aug 2006
 
Added Issue followup   -   <Greg Baker> permanent link

Sorry about all the followups in such a short time..

Looking through the ZMI, I found one of the issues that's causing problems and looked at the issue's properties. Under properties, 'fromname' and 'email' are both set correctly. That is, the actual submitter's name and email are correct. Also, the acl_adder value is "/munhousing/acl_users,tony" which appears correct also.

I began to wonder if it was my customized ZPT causing the problem so I renamed it so issuetracker would use the default ZPT and still have the problem. So we can rule that out.

Once again I will investigate further.

24-Aug 2006
 
Added Issue followup   -   <Greg Baker> permanent link

I tracked down this specific error.. Not sure if it is present multiple times in the code or not, but here's the one I found..

in Issue.py, somewhere around line 2779 (may be +/- a few lines since I've edited the file):

authenticated_member = mtool.getAuthenticatedMember()

should be
authenticated_member = mtool.getMemberById(name)

The getAuthenticatedMember method return the currently logged in member, but we want the member who submitted the issue.

Tomorrow I'll poke around the rest of the code to see if this error is in more than one place.

24-Aug 2006
 
Added Issue followup   -   <Greg Baker> permanent link

haha, one more followup, the line number is closer to line 209.. Was looking at the wrong number in vim..

24-Aug 2006
 
Changed status from Open to Taken   -   <Peter Bengtsson> permanent link

Thanks a bunch! I'm away from the office and my laptop for a few days. Will update and fix when I get back.

25-Aug 2006
 
Added Issue followup   -   <Greg Baker> permanent link

The same error is in the getEmail method in Issue.py, directly under the spot mentioned above.

25-Aug 2006
 
Added Issue followup   -   <sse> permanent link

Same problem in Thead.py, line 117

28-Aug 2006
 
Changed status from Taken to Completed   -   <Peter Bengtsson> permanent link

Done. All in svn. Thanks for your support!

29-Aug 2006
 
Added Issue followup   -   <sse> permanent link

I don't understand why, but on line 144 in Thread.py I had to change back to

authenticated_member = mtool.getAuthenticatedMember()

otherwise all emails in the thread were set to the first email address in the thread.

The CVS version has the email correct, the SVN version does not, that is how I came up with this change.

31-Aug 2006
 
Changed status from Completed to Taken   -   <Peter Bengtsson> permanent link

I don't get what you mean. Surely getMemberById(name) returns the member object based on a name and getAuthenticatedMember() just returns the currently logged in member.

There are 4 places where getMemberById() (showing issues and followups) is used and 1 place where getAuthenticatedMember() (submitting issues and followups) is used.

01-Sep 2006
 

 

Taken

This is a patch to basic dependencies handling to IssueTrackerProduct. Ability to filter by dependencies in the listing filters, and dependencies graph generation is not here yet, but planned later ;)

If you feel it's too complex for "basic" users, maybe we could disable it by default and add a property on the IssueTracker to enable it, but this is a really useful feature IMHO.

Submitted by: <gael.le-mignot>
10-Oct 2005
4 years and 11 months and 6 days old
Sections: User functions
Type: feature request
Urgency: normal
Changed status from Open to Taken   -   <Peter Bengtsson> permanent link

Wow! Cool. I've only just begun reading the patch and it looks quite promising so far. I'll patch it in on a dev branch and scrutinize your code.

And yes, this won't be on by default. But a great "advanced feature" for those who know what they're doing.

One thing that did catch my eye was this:

     def safe_getProperty(self, property, default, where = None):
        """Try to get a property, else return default"""
        try:
            where = where or self
            return type(default)(where.getProperty(property)) or default
        except:
            return default

Where did you learn that syntax? Perlschool? :) Seriously, I'd rather see a:

 def get<InsertPropertyName>(self):
     return self.<insertpropertyname>

...but that's secondary. To begin with I'll look at the functionality.

11-Oct 2005
 
Added Issue followup   -   No name or email permanent link

The idea was to factorize code, by avoiding having many functions that does the "same thing", only the name of property being different (being blocked by and blocking in my implementation is, technically, the same, just the wording and property name have to be different).

Another goal of this code was to prevent any backward compatibility problem: if the property doesn't exist, all fine, we have defaults, so need to run migration scripts (which, on our 100 trackers with some have >1000 issues takes a loooong time and sometimes even crash the zope).

But feel free to implement it in another way if you prefer

11-Oct 2005
 

 

Taken

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 (#0053, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]
Platform: win32

Submitted by: <Simon>
09-Mar 2005
5 years and 6 months and 6 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
 

 

 


 

Recent issues