Anonymous | Login | Signup for a new account | 2012-09-13 19:32 PDT |
Main | Blog | My View | View Issues | Change Log | Roadmap | IRC Chat | Repositories | Scrum Board |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
085 | Source Integration | Gitweb | public | 2009-12-22 16:52 | 2011-09-07 13:18 | ||||||
Reporter | Casey | ||||||||||
Assigned To | |||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||
Status | new | Resolution | open | ||||||||
Product Version | |||||||||||
Target Version | Fixed in Version | ||||||||||
Summary | 085: "Import Latest Data" operation fails w/ "error #1048: Column 'author' cannot be null" | ||||||||||
Description | I'm trying to setup the gitweb source code integration plugin with a local gitweb repository. I'm running the latest master-1.2.x mantis branch with all latest plugin dependencies for the Gitweb Integration plugin here: http://git.mantisforge.org/w/source-integration.git [^] After setting up my repository settings, i'm getting the following error page: ------------------- APPLICATION ERROR #401 Database query failed. Error received from database was #1048: Column 'author' cannot be null for the query: INSERT INTO mantis_plugin_Source_changeset_table ( repo_id, revision, parent, branch, user_id, timestamp, author, message, info, ported, author_email, committer, committer_email, committer_id ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ). --------------------- | ||||||||||
Additional Information | My repository settings are: Name Project Type Gitweb URL http://git.domain.com/project.git [^] Extra Info gitweb_root => string(26) "http://git.domain.com/" [^] gitweb_project => string(9) "project.git" master_branch => string(6) "master" -------------------- My gitweb server is using the VirtualHost feature of Apache. | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
![]() |
|
Casey (reporter) 2010-01-12 17:12 edited on: 2010-01-12 17:19 |
Issue is related to changes in gitweb. I am running version 1.6.6. The html response page has changed format, it seems. I attached a patch file that can handle the new format. http://leetcode.net/mantis/file_download.php?file_id=3&type=bug [^] |
Thomas Hochstein (reporter) 2010-05-13 10:01 edited on: 2010-09-19 06:50 |
Same problem here (Gitweb 1.6.5), but related to my use of Avatars in gitweb: # enable avatar support $feature{'avatar'}{'default'} = ['gravatar']; I'll attach a diff with the small changes that were necessary to make SourceGitweb.php parse the output of Gitweb correctly. (Sorry, diff is wrong way around, see next comment and patch against git repo.) |
Thomas Hochstein (reporter) 2010-09-19 06:41 edited on: 2010-09-19 06:50 |
Same problem here (again), this time with Gitweb 1.7.1, with Avatars. Now it's the search feature ("Search for commits authored by $name") that throws the parser off .. Diff attached. (BTW, Parse-gitweb-output-with-avatars.diff is the wrong way around anyway ... Sorry.) Attached a patch against current master (021aa8486d4366160d18b71013cd5e3967d2dc38) in git://git.mantisforge.org/source-integration.git [^] |
Nicolas Aspert (reporter) 2010-09-27 23:44 |
I experienced the same issue with gitweb 1.7.2 and Thomas' patch fixes it. |
Nicolas Aspert (reporter) 2011-08-02 08:16 |
Patch still needed for latest version of Gitweb integration (gitweb 1.7.5 running) |
mmulrooney (reporter) 2011-09-07 13:17 |
Don't know if anyone cares, but I have a patch for 1.7.6. Its not "perfect" by any means, but it works... |
![]() |
|||
Date Modified | Username | Field | Change |
2009-12-22 16:52 | Casey | New Issue | |
2010-01-12 17:12 | Casey | Note Added: 076 | |
2010-01-12 17:17 | Casey | File Added: 0001-Fix-commit-parsing-on-latest-gitweb-version.patch | |
2010-01-12 17:19 | Casey | Note Edited: 076 | View Revisions |
2010-01-12 17:19 | Casey | Note Edited: 076 | View Revisions |
2010-05-13 10:01 | Thomas Hochstein | Note Added: 211 | |
2010-05-13 10:02 | Thomas Hochstein | File Added: Parse-gitweb-output-with-avatars.diff | |
2010-09-19 06:41 | Thomas Hochstein | Note Added: 240 | |
2010-09-19 06:42 | Thomas Hochstein | File Added: Parse-Gitweb-1.7.1.diff | |
2010-09-19 06:49 | Thomas Hochstein | File Added: 0001-SourceGitweb.php-Fix-gitweb-parsing-for-gitweb-1.7.patch | |
2010-09-19 06:50 | Thomas Hochstein | Note Edited: 240 | View Revisions |
2010-09-19 06:50 | Thomas Hochstein | Note Edited: 211 | View Revisions |
2010-09-27 23:44 | Nicolas Aspert | Note Added: 242 | |
2011-08-02 08:16 | Nicolas Aspert | Note Added: 303 | |
2011-09-07 13:17 | mmulrooney | Note Added: 309 | |
2011-09-07 13:18 | mmulrooney | File Added: gitweb.patch |
Copyright © 2000 - 2012 MantisBT Group
Time: 0.1513 seconds. memory usage: 8,377 KB |