cgaspard / mantiskanban

Mantis Kanban that uses ajax and mantisconnect
45 stars 33 forks source link

Error when logging in #63

Open mophilly opened 7 years ago

mophilly commented 7 years ago

When I attempt to log onto the kanban page, the log in screen requires "Mantis URL" in addition to the user name and password. I have tried several URL's, and none at all, and get this error: Error: null is not an object (evaluating 'wsdl.documentElement')

The wsdl file is present in the MantisBT installation and the kanban directory is at the root level with the rest of the MantisBT files.

What is the purpose of the entry field Mantis URL? What does a valid input look like there? What is the error message attempting to tell me?

cgaspard commented 7 years ago

The url in that box should point to the mantisconnect API url.

For example: https://example.com/api/soap/mantisconnect.php

mophilly commented 7 years ago

Thank you. Entering the pathname for the mantisconnect.php file worked. However, it raises a question. What is the reason for requiring the URL in the login?

Asking the end user to enter a long URL each time they log onto the system seems unfriendly. That piece of information is better stored in the configuration file. The config.js requires the URL as well as a "server name". Are these not the same URL?