Notice: this is a static mirror for historical purposes.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
181Source IntegrationGitwebpublic2010-10-20 01:532010-12-02 19:52
Reportersamsiu 
Assigned ToJohn Reese 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary181: mantisbt + git integration repo_import_latest&id=X got error #2800
DescriptionHi~
I setup the mantisbt + git integration according to
http://leetcode.net/blog/2009/01/integrating-git-svn-with-mantisbt/. [^]
However,
when I execute the cron job "curl
http://yoururl.xyz/mantisbt/plugin.php?page=Source/repo_import_latest&id=XX", [^]
the output is

APPLICATION ERROR #2800
Invalid form security token. Did you submit the form twice by accident?

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

I have added allow hosts in repositories configuration (actually it's the same host), and even if I post the url in a session logged in, I still get the same message.

The import only work when I go into the Repositories page, and click import latest.

Please check. Thanks~
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 192resolvedJohn Reese repo_import_latest does not work on CRON job 
has duplicate 196resolvedJohn Reese "repo_import_latest&id=all" does not work (redux) 
has duplicate 207resolvedJohn Reese Curl cronjob error. 

-  Notes
User avatar (245)
John Reese (administrator)
2010-10-20 05:16

This in a documentation issue. In a recent release, I changed the way remote imports work, and have not gotten around to updating old documentation and blo posts.

The correct URL to hit is http://your.domain/mantisbt/plugin.php?page=Source/import&id=X [^]

- Issue History
Date Modified Username Field Change
2010-10-20 01:53 samsiu New Issue
2010-10-20 05:16 John Reese Note Added: 245
2010-10-20 05:16 John Reese Assigned To => John Reese
2010-10-20 05:16 John Reese Status new => confirmed
2010-12-02 19:52 Dave Juntgen Note Added: 254
2010-12-02 19:52 Dave Juntgen Note Deleted: 254
2011-01-23 13:20 John Reese Relationship added has duplicate 192
2011-02-27 06:30 John Reese Relationship added has duplicate 196
2011-05-27 05:10 John Reese Relationship added has duplicate 207


Copyright © 2000 - 2012 MantisBT Group
Time: 0.1431 seconds.
memory usage: 8,388 KB
Powered by Mantis Bugtracker

hosted with
Linode