You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Alena Prokharchyk (JIRA)" <ji...@apache.org> on 2014/02/10 19:19:20 UTC

[jira] [Created] (CLOUDSTACK-6068) service/disk_offering_details: display flag should be set to true by default

Alena Prokharchyk created CLOUDSTACK-6068:
---------------------------------------------

             Summary: service/disk_offering_details: display flag should be set to true by default
                 Key: CLOUDSTACK-6068
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6068
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.3.0
            Reporter: Alena Prokharchyk
            Assignee: Alena Prokharchyk
            Priority: Critical
             Fix For: 4.3.0


There are 2 tables where details for service/disk offering details are stored:

service_offering_details and disk_offering_details.

Each table has "display" field (boolean) - if set to false, the detail will be displayed to admin only. 

Bug: initially the default value of the db field was set to false, so all the details were saved with 0 flag (although admin didn't intend it). But the API was working w/o checking this field before, so details with 0 were returned to the user. Then this API bug was fixed, and the details stopped returning to the user.

Fix: we have to set the display flag to be 1 by default. Only when its defined otherwise in the API, this flag should be set to 0



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)