Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


delete device (qa)


10der
 Share

Recommended Posts

dear @m.roszakcan you ask you QA's make a simple regression testing if some code change something.

 

http://192.168.1.36/api/devices/ 2371 

Please login or register to see this image.

/monthly_2021_09/image.png.0af6a7eee13feab023cca3e19688942a.png" />

 

 

delete 2371

Please login or register to see this attachment.

 

ask

http://192.168.1.36/api/devices/2371

 

voila!

 

image.png.2baf92a60b25054e33295d636182ae68.png

 

 

the same from UI.

delete button

warning

yes

deleted.

F5

device appear again!

 

NB: I am talking about child device(s)

Link to comment
Share on other sites

I think that this is impossible to delete child device from QA - as designed.
It should be  better handled with correct http response.

I will put it in the backlog.

  • Thanks 1
Link to comment
Share on other sites

  • Topic Author
  • 8 hours ago, m.roszak said:

    I think that this is impossible to delete child device from QA - as designed.
    It should be  better handled with correct http response.

    I will put it in the backlog.

    you can’t believe me but it worked a year ago (AFAIR) ;) 

    Link to comment
    Share on other sites

    ehm, from BUI or Swagger? no issues for me to delete child devices from BUI.

    Link to comment
    Share on other sites

    I will consult with developers and determine how we proceed. 
    Removing childs without parent seems wrong for me - 

    12 hours ago, 10der said:

    you can’t believe me but it worked a year ago (AFAIR) ;) 

    Why I should not believe you?
    If you said that it was working it was working ;)

    Link to comment
    Share on other sites

    16 hours ago, 10der said:

    you can’t believe me but it worked a year ago (AFAIR) ;) 

    I can confirm I was able to delete child devices from graphical user interface about a year ago when I made some tests.

     

    I did not tried recently though.

     

    Edited by lazer
    • Thanks 1
    Link to comment
    Share on other sites

  • Topic Author
  • 21 hours ago, tinman said:

    ehm, from BUI or Swagger? no issues for me to delete child devices from BUI.

     

    yes I know u can!

     

    [email protected]:/home/tinman# rm -rf /

    Link to comment
    Share on other sites

    4 hours ago, 10der said:

    yes I know u can!

     

    no joke, no matter if try from BUI to delete child, or from Swagger with device delete, it works, nothing after STRG+F5, nor over/api/devid,

    no matter f i try with official or inofficial device types

     

    Please login or register to see this attachment.

     

     

    Please login or register to see this attachment.

     

     

    Tested with HC3 and Yubii, both on ZW3 engine ... let me test with zw2 ...

    EDIT: no issues with zw2 HC3 as well, hmm

     

    Edited by tinman
    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...