cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10344) Sometimes a bug happens when moving ACL rules (changing their order with drag and drop)
Date Sun, 25 Mar 2018 21:21:00 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-10344:
---------------------------------------------

rafaelweingartner opened a new pull request #2511: [CLOUDSTACK-10344] bug when moving ACL
rules (change order with drag and drop)
URL: https://github.com/apache/cloudstack/pull/2511
 
 
   ## Description
   <!--- Describe your changes in detail -->
   An error is happening in certain conditions, such as when you have only 2 ACL rules and
you move the last one to the top. There are other conditions, for instance, when moving ACLs
that are in a sequence of numbers without gaps.
   Example, rules:
   number | rule
   1 - rule A
   2 - rule D
   3 - rule B
   4 - rule C
   5 - rule E
   
   It is not possible to move "rule C" in position 2, 1, and 3.
   
   <!-- For new features, provide link to FS, dev ML discussion etc. -->
   <!-- In case of bug fix, the expected and actual behaviours, steps to reproduce. -->
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the boxes that
apply: -->
   - [ ] Breaking change (fix or feature that would cause existing functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [X] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [X] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ## How Has This Been Tested?
   Locally in my development environment. I also wrote unit tests for all of the new methods
created.
   100% coverage on new code ;)
   
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to -->
   <!-- see how your change affects other areas of the code, etc. -->
   
   ## Checklist:
   <!--- Go over all the following points, and put an `x` in all the boxes that apply.
-->
   <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help!
-->
   - [X] I have read the [CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md)
document.
   - [X] My code follows the code style of this project.
   - [ ] My change requires a change to the documentation.
   - [ ] I have updated the documentation accordingly.
   - [X] I have added tests to cover my changes.
   - [X] All new and existing tests passed.
   
   <!-- The following will kick a packaging job, remove if as applicable -->
   @blueorangutan package
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Sometimes a bug happens when moving ACL rules (changing their order with drag and drop)

> ----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10344
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10344
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Rafael Weingärtner
>            Assignee: Rafael Weingärtner
>            Priority: Major
>             Fix For: 4.12
>
>
> An error is happening in certain conditions, such as when you have only 2 ACL rules and
you move the last one to the top. There are other conditions, for instance, when moving ACLs
that are in a sequence of numbers without gaps.
> Example, rules:
> number | rule
> 1 - rule A
> 2 - rule D
> 3 - rule B
> 4 - rule C
> 5 - rule E
> It is not possible to move "rule C" in position 2, 1, and 3.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message