Commit ef77ec85 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(webservice) Do not let webservice request set disabled attributes

It seems deserializeValue method in Attribute was actually unused,
 setValue being called directly by simplePlugin.
Now it’s used and does about the same thing as setValue, just returns an
 error if the attribute is disabled.

issue #5811
Showing with 17 additions and 23 deletions
+17 -23
  • SonarQube analysis reported 3 issues

    • :warning: 3 major

    Watch the comments in this conversation to review them.

    1 extra issue

    Note: The following issues were found on lines that were not modified in the commit. Because these issues can't be reported as line comments, they are summarized here:

    1. :warning: Reduce the number of returns of this function 4, down to the maximum allowed 3. :blue_book:

    By Ghost User on 2018-04-17T13:51:56 (imported from GitLab)

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment