You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/11/30 07:24:35 UTC

[GitHub] [cloudstack] edikevich opened a new issue #5731: Can't sort Templates or ISOs.

edikevich opened a new issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731


   ##### ISSUE TYPE
    * Bug Report
   
   ##### COMPONENT NAME
   ~~~
   UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   4.16.0
   ~~~
   
   ##### CONFIGURATION
   XCP-NG 8.2
   Advanced Zone
   
   ##### OS / ENVIRONMENT
   Oracle Linux 8.4 - Management server, MYSQL 8.0.26
   XCP-NG 8.2 - hypervisor
   
   ##### SUMMARY
   Can't sort Templates or ISOs.
   In Templates section buttons are presented but when you try to click them nothing happends.
   
   In ISOs section buttons are missed (were in old UI)
   
   ##### STEPS TO REPRODUCE
   ~~~
   Try to sort templates.
   ~~~
   ##### EXPECTED RESULTS
   ~~~
   Can place templates in any order
   ~~~
   
   ##### ACTUAL RESULTS
   ~~~
   Can't place templates in any order. When you try to click sort buttons nothing happends. In ISOs section buttons are missed.
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] utchoang commented on issue #5731: Can't sort Templates or ISOs.

Posted by GitBox <gi...@apache.org>.
utchoang commented on issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731#issuecomment-996400914


   I think with API `updateTemplate /updateIos` to update sortKey need one more parameter to be able to update for duplicate templates/isos?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti closed issue #5731: Can't sort Templates or ISOs.

Posted by GitBox <gi...@apache.org>.
sureshanaparti closed issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] utchoang commented on issue #5731: Can't sort Templates or ISOs.

Posted by GitBox <gi...@apache.org>.
utchoang commented on issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731#issuecomment-996396373


   Through testing, I found the problem is that when getting listTemplates with `showunique: true` it sorts wrong. But when I remove this parameter, the returned data is sorted correctly, but the result is a sequence of duplicate samples. As far as I can see is it coming from the API?
   - With `showunique: true`
   ![image](https://user-images.githubusercontent.com/13766648/146481630-ec075c87-7e46-49d3-8e6a-6aa525e9f175.png)
   - Without `showunique: true`
   ![image](https://user-images.githubusercontent.com/13766648/146481763-8e7c53a9-5cd1-4202-aed3-62d2d6f1ae13.png)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on issue #5731: Can't sort Templates or ISOs.

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731#issuecomment-999524030


   @utchoang Fixed the API response in the PR #5800.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] utchoang removed a comment on issue #5731: Can't sort Templates or ISOs.

Posted by GitBox <gi...@apache.org>.
utchoang removed a comment on issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731#issuecomment-996400914


   I think with API `updateTemplate/updateIos` to update sortKey need one more parameter to be able to update for duplicate templates/isos?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on issue #5731: Can't sort Templates or ISOs.

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731#issuecomment-1000693264


   Fixed with #5800. Closing the issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on issue #5731: Can't sort Templates or ISOs.

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731#issuecomment-999425925


   > Through testing, I found the problem is that when getting listTemplates with `showunique: true` it sorts wrong. But when I remove this parameter, the returned data is sorted correctly, but the result is a sequence of duplicate samples. As far as I can see is it coming from the API?
   > 
   > * With `showunique: true`
   >   ![image](https://user-images.githubusercontent.com/13766648/146481630-ec075c87-7e46-49d3-8e6a-6aa525e9f175.png)
   > * Without `showunique: true`
   >   ![image](https://user-images.githubusercontent.com/13766648/146481763-8e7c53a9-5cd1-4202-aed3-62d2d6f1ae13.png)
   
   @utchoang With 'showunique: true', API returns unique templates irrespective of zones, and without 'showunique: true', all the templates in the zones are returned. So, if a template is registered for mutiple/all zones, it is present multiple times.
   From UI, the templates are always listed with 'showunique: true'.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] utchoang edited a comment on issue #5731: Can't sort Templates or ISOs.

Posted by GitBox <gi...@apache.org>.
utchoang edited a comment on issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731#issuecomment-996400914


   I think with API `updateTemplate/updateIos` to update sortKey need one more parameter to be able to update for duplicate templates/isos?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] sureshanaparti commented on issue #5731: Can't sort Templates or ISOs.

Posted by GitBox <gi...@apache.org>.
sureshanaparti commented on issue #5731:
URL: https://github.com/apache/cloudstack/issues/5731#issuecomment-995850651


   @utchoang can you check this please. thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org