Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Suspicious Action pages when modifying bugs. #1

Closed
wants to merge 1 commit into from

Conversation

avtobiff
Copy link

@avtobiff avtobiff commented Sep 8, 2010

Hi!

I have tried using PyBugz together with BugZilla 3.6.2 and could not modify bugs. I got to a
"Suspicious Action" page that said I might have just typed the URL in, the page asked me
to confirm the changes I requested.

There is a form field called "token" which is in newer versions of BugZilla, adding it to the
FIELDS which Bugz.get() extracts solved the entire issue.

Fixes redirect to "Suspicious Action" page when trying to modify a bug.
@williamh
Copy link
Owner

This is already in the pybugz git repository. I'm not sure where you cloned/forked from, but git://github.com/williamh/pybugz.git is the main repository.
Let me know if this issue exists in that repository.

@avtobiff
Copy link
Author

Hi!

I cloned the main repository. I probably got the issue because I could not run the current HEAD with Python 2.6. It was not possible to import the argparse module...

@williamh
Copy link
Owner

Hi,

argparse is included in the standard library for python 2.7, but it is an external package for python 2.6 and earlier. It does work on 2.6 and earlier if you have the package installed.

I will look into updating the documentation to show that it is an external dependency for 2.6 and earlier.

Thanks,

William

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants