Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Knowledge Base - display API errors #5502

Closed
lpinsivy opened this issue Aug 3, 2017 · 5 comments
Closed

Knowledge Base - display API errors #5502

lpinsivy opened this issue Aug 3, 2017 · 5 comments
Labels

Comments

@lpinsivy
Copy link
Contributor

lpinsivy commented Aug 3, 2017


BUG REPORT INFORMATION

Centreon Web version: 2.8.10

Additional environment details (AWS, VirtualBox, physical, etc.):: mediawiki123

Steps to reproduce the issue:

  1. Install mediawiki
  2. Configure access in Centreon
  3. Add a wiki page
  4. delete wikipage

Describe the results you received:

nothing and page not deleted

Describe the results you expected:

A pop-in displaying API error message

Additional information you think important (e.g. issue happens only occasionally):

Centreon wiki class receive:

array(2) {
["warnings"]=>
array(1) {
["tokens"]=>
array(1) {
["*"]=>
string(51) "Action 'delete' is not allowed for the current user"
}
}
["tokens"]=>
array(0) {
}
}
{"result":true}

@lpinsivy lpinsivy added this to the 2.8.12 milestone Aug 3, 2017
loiclau added a commit that referenced this issue Aug 16, 2017
loiclau added a commit that referenced this issue Aug 16, 2017
@lpinsivy
Copy link
Contributor Author

With v1.28.0 of mediawiki the call to url: "/include/common/webServices/rest/internal.php?object=centreon_wiki&action=deletePage" return "Method not found"

@zskarman
Copy link

hi,

is it possible to put this ticket to the 2.8.13? because this is the last issue in the 2.8.12 release, and we are waiting for that.

Thank you Zsolt

@lpinsivy lpinsivy modified the milestones: 2.8.13, 2.8.12 Aug 30, 2017
@lpinsivy
Copy link
Contributor Author

Yes :D

@lpinsivy lpinsivy added area/knowledge-base priority/minor status/in-backlog A dev will begin to work on your modifications soon labels Aug 30, 2017
@lpinsivy lpinsivy modified the milestones: 2.8.15, 2.8.13 Sep 11, 2017
@cmeschin
Copy link

cmeschin commented Dec 4, 2017

Hi, Have you any news about this?
thanks

@adr-mo
Copy link
Contributor

adr-mo commented May 28, 2019

Fixed in 18.10.5

@adr-mo adr-mo closed this as completed May 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants