Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Working on getting issues to be visible. Still not working at this time
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy D committed Nov 7, 2011
1 parent 09d9ce2 commit 2238e82
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions converter.php
Expand Up @@ -24,8 +24,10 @@
* Add ajax support
* Test
* The version needs split into major, minor and revision.. Fun.
* Should move queries to be executed by a local method to handle errors.
*/

// This is my debugging for debugging queries.
// exit(var_dump($this->tbg_db->errorInfo()));
/*
* @TODO Known Bugs
Expand Down Expand Up @@ -847,8 +849,8 @@ function doStep6()
foreach ($this->mantis_db->query($query) as $row)
{
$this->tbg_db->query('
REPLACE INTO ' . $this->tbg_db_prefix . 'issues (id, issue_no, project_id, title, assigned_to, duplicate_of, posted, last_updated, state, issuetype, category, resolution, priority, severity, reproducability)
VALUES (' . $row['id'] . ', ' . $row['issue_no'] . ', ' . $row['project_id'] . ', "' . $row['title'] . '", ' . $row['assigned_to'] . ', ' . $row['duplicate_of'] . ', ' . $row['posted'] . ', ' . $row['last_updated'] . ', ' . $row['state'] . ', ' . $row['issuetype'] . ', ' . $row['category'] . ', ' . $row['resolution'] . ', ' . $row['priority'] . ', ' . $row['severity'] . ', ' . $row['reproducability'] . ')
REPLACE INTO ' . $this->tbg_db_prefix . 'issues (id, issue_no, project_id, title, assigned_to, duplicate_of, posted, last_updated, state, issuetype, category, resolution, priority, severity, reproducability, scope)
VALUES (' . $row['id'] . ', ' . $row['issue_no'] . ', ' . $row['project_id'] . ', "' . $row['title'] . '", ' . $row['assigned_to'] . ', ' . $row['duplicate_of'] . ', ' . $row['posted'] . ', ' . $row['last_updated'] . ', ' . $row['state'] . ', ' . $row['issuetype'] . ', ' . $row['category'] . ', ' . $row['resolution'] . ', ' . $row['priority'] . ', ' . $row['severity'] . ', ' . $row['reproducability'] . ', 1)
');

// This attempts to find any versions that got missed, but isn't accurate.
Expand Down

0 comments on commit 2238e82

Please sign in to comment.