Importing MediaWiki issues


#1

I have added the required fields to the configuration page for mediawiki, however when i try and import an issue i get this error:

uninitialized constant IssuesController::IssueImporter

    Extracted source (around line #89):

def import
importer = IssueImporter.new(params)
@results = importer.query()

@plugin = importer.plugin

Not sure why. Any help greatly received

Mark

Rails.root: /opt/dradis-ce


#2

Hi @markajbell, sorry about the delay! It turns out that this error was our fault but has been fixed here: https://github.com/dradis/dradis-ce/pull/36 Please git pull and give the MediaWiki import another test. Keep us posted with any updates!


#3

@rachkor. Sorry not really used git much. do i just type:

git pull https://github.com/dradis/dradis-ce/pull/36 from my dradis directory??

Mark


#4

Hi @markajbell, sorry for not giving more detailed directions! git can be a bit of a beast if you don’t use it all the time. Try the following and the let us know how it goes.

From your local dradis-ce folder, run:
$ git pull origin master

Then, restart the server and test the MediaWiki import again. After pull-ing the latest changes, the import should be up and running again without any errors. Of course, if you do run into any issues, just let us know!


#5

That worked. Can import from MediaWiki, Thanks