eclipse / dirigible

Eclipse Dirigible™ Project
https://www.dirigible.io
Eclipse Public License 2.0
268 stars 86 forks source link

[IDE] Documents api HTTP 403 #1143

Open StanZGenchev opened 2 years ago

StanZGenchev commented 2 years ago

Describe the bug The documents perspective tries to a access "https:/services/v4/js/ide-documents/api/constraints" but gets HTTP 403 instead.

To Reproduce Steps to reproduce the behavior:

  1. Open developer console in your browser
  2. Click on 'Documents' prespective
  3. See error
    GET http://localhost:8081/services/v4/js/ide-documents/api/constraints.js 403
    angular.js:15697 SyntaxError: Unexpected token u in JSON at position 0
    at JSON.parse (<anonymous>)
    at load (controller.js:159:25)
    at Object.<anonymous> (controller.js:166:3)
    at Object.invoke (angular.js:5208:16)
    at S.instance (angular.js:11814:24)
    at p (angular.js:10627:33)
    at g (angular.js:9942:13)
    at g (angular.js:9945:13)
    at angular.js:9807:30
    at angular.js:1968:11

Desktop:

tdermendjiev commented 2 years ago

@StanZGenchev can you confirm this issue still exists, as I am not able to reproduce it after the latest changes?

StanZGenchev commented 2 years ago

Yes, I can confirm I still have the issue.