orientechnologies / orientechnologies/orientdb-studio
Problem running Studio as embedded.
@wolf4ood is already working on this.
Since May 7, 2015.
- Dominant language
- HTML
- Stars
- 128
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Description
When running orientdb server as embeded, get error when start studio. The error is the folowing
2015-05-06 16:45:11:815 WARNING ->127.0.0.1: Command not found: GET.api/listDatabases [ONetworkProtocolHttpDb]
2015-05-06 16:45:21:815 WARNING ->127.0.0.1: Command not found: GET.api/listDatabases [ONetworkProtocolHttpDb]
And DB studio shows the message, that server goes offline.
The problem can be fixed
if you got to the www/scriipts/scripts.js and change variable API (remove line with -, add line with +).
var API = (function () {
var m = window.location.pathname.match(/(.*/)studio/index.html/);
-return m && m[1] ? m[1] : '/api/';
+return m && m[1] ? m[1] : '/';
})();
I've created a google groups thread for it:
https://groups.google.com/forum/#!topic/orient-database/v6QkpKHOFdg
I've created a dummy project which shows an issue.
git clone https://github.com/rogozinds/orientDBstudio.git
Probably, this is not how the problem should be fixed, I've just provide you all the info I've got.
The commit before last shows the issue, the last commit shows the fix. Sorry the project has classes files and www folder.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.