Project

General

Profile

Actions

Bug #4134

closed

API for Change Request details returns the wrong action name

Added by Vincent MEMBRÉ over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
3
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Action displayed when looking at a change request details are not correct ...

here for a rule modification the action is delete ...


{
    "id":2,
    "displayName":"Update Rule tet",
    "status":"Pending validation",
    "created by":"jon.doe",
    "isAcceptable":true,
    "description":"",
    "changes":{
      "directives":[],
      "rules":[{
        "action":"delete",
        "change":{
          "id":"ecba3f1f-c29f-4fb8-a361-b10cbaada172",
          "displayName":{
            "from":"tets",
            "to":"tet" 
          },
          "shortDescription":"",
          "longDescription":"",
          "directives":["5dd24d41-cdde-44f7-bffb-a6b8e2ebfc6a"],
          "targets":["special:all_exceptPolicyServers"],
          "enabled":true
        }
      }],
      "groups":[],
      "parameters":[]
    }
  }

Actions #1

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/365
Actions #2

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #3

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from action name in change request vie API are not correct to action name in change request via API are not correct
Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from action name in change request via API are not correct to Actions of Change request displayed via REST API are not correct
Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from Actions of Change request displayed via REST API are not correct to API for Change Request details returns the wrong action name
Actions #6

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.8.0, which was released today.
Check out:

Actions

Also available in: Atom PDF