You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@dlab.apache.org by "Pavel Papou (Jira)" <ji...@apache.org> on 2020/07/04 23:04:00 UTC

[jira] [Commented] (DLAB-1918) Quota is not updated for 'null' (empty value)

    [ https://issues.apache.org/jira/browse/DLAB-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151441#comment-17151441 ] 

Pavel Papou commented on DLAB-1918:
-----------------------------------

Dear [~vvitanska] ,

The JSON structure with previous project budget values is returned from UI, if user remains empty values.

"budget":\{"value":23,"is_monthly_budget":false,"monthlyBudget":false}

That is why data has been not de-serialized , the budget json property should contains the Integer value, i.e "budget":45.

From backend perspective we can validate value type and raise the exception with proper message.

CC:[~ofuks]

 

 

> Quota is not updated for 'null' (empty value)
> ---------------------------------------------
>
>                 Key: DLAB-1918
>                 URL: https://issues.apache.org/jira/browse/DLAB-1918
>             Project: Apache DLab
>          Issue Type: Bug
>          Components: DLab Main
>    Affects Versions: v.2.4
>            Reporter: Vira Vitanska
>            Assignee: Pavel Papou
>            Priority: Minor
>              Labels: AWS, AZURE, Back-end, Debian, GCP, RedHat
>         Attachments: Received the previous value from back-end.png, Sent new value from UI.png
>
>
> *Preconditions:*
> 1. Manage DLab quotas is set up
> *Steps to reproduce:*
>  # Set up new value (leave empty)
>  # Click 'Apply' button
> *Actual result:*
> 1. New value is not assigned
> *Expected result:*
> 1. New value is assigned
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@dlab.apache.org
For additional commands, e-mail: dev-help@dlab.apache.org