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

Macros are always listed on command line descriptions #4703

Closed
ddu17 opened this issue Sep 9, 2016 · 1 comment
Closed

Macros are always listed on command line descriptions #4703

ddu17 opened this issue Sep 9, 2016 · 1 comment
Labels
kind/bug status/implemented status/in-backlog A dev will begin to work on your modifications soon
Milestone

Comments

@ddu17
Copy link
Contributor

ddu17 commented Sep 9, 2016


BUG REPORT INFORMATION

Centreon Web version: 2.7.6

Steps to reproduce the issue:

  1. Create a command using a custom macro. For example : $USER1$/check_xxx $_SERVICEMACRO1$ ... $_SERVICEMACRO2$ ... $_SERVICEMACRO3$
  2. Click on the "Describe macros" button and put descriptions ;
  3. Return in the command and remove a macro from the the command line description ;
  4. Click on the "Describe macros", at this step, as we want, the removed macro disappears from the list. Click on Save to keep the change ;
  5. Return in the previous command, the macro removed previously will appear on descriptions ;

Describe the results you received:

Removed macros are listed on descriptions.

Describe the results you expected:

Macros not present on the command line should not be listed on descriptions.

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

macro-editor

@ddu17
Copy link
Contributor Author

ddu17 commented Sep 9, 2016

Please do not consider the previous attachment, please use this one.

macro

@lpinsivy lpinsivy added kind/bug status/in-backlog A dev will begin to work on your modifications soon labels Sep 12, 2016
@lpinsivy lpinsivy added this to the 2.8.0 milestone Sep 12, 2016
@querwin querwin closed this as completed Sep 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug status/implemented status/in-backlog A dev will begin to work on your modifications soon
Projects
None yet
Development

No branches or pull requests

4 participants