Problem Editing the Rules of a Rules Group

Here is a Group I wish to Edit.

image

After clicking Set rules, we see the following.

The first rule selects a group of all descendants of my great grandparents (living and not living). The second rule unselects a group of all not living people. That has the effect of leaving only the living people. I wish to remove the second rule and replace it with a new rule that does the same thing except that it does it via a criterion rather than via a group. So I highlight the second rule.

Then I click on the Delete icon.

The result is that it has deleted the first rule (the one I wanted to keep) rather than deleting the second rule (the one I had highlighted and that I wanted to delete).

My workaround for the moment is to delete both rules and then put the rules back in the way I want them.

1 Like

Classic array misnumbering error: is the first row 0 or 1?

1 Like

The panel’s hint text clearly states:
Add or edit the rules used to select people

It appears that, as soon as you choose Select group, you’re NOT adding a rule AND thusly are choosing a group TO BE edited (descendants of great grandparents) followed by an Unselect group choosing a group TO NOT BE edited (not living). In other words, effectively selecting rules TO BE EDITED and the Delete action as the outcome.

I don’t really understand what you are suggesting. But let me address the problem a different way. Suppose all you wanted to do was to delete the second rule while leaving the first rule alone and that you weren’t going to add a new second rule. How would you just delete the second rule and do nothing else? I could be missing something, but I don’t see any way to do it.

Also, I don’t think “Select Group” means to choose which group to use. Harkening back to the RM Explorer screen, it has a Mark button and an Unmark button. On this new Rules screen, Select and Unselect mean to Mark or Unmark people. So if a rule says to Unselect Group, that doesn’t mean not to select the group and that the group is not in play. The group is still very much in play. But the Unselect means to Unmark everybody in the group. I think the words Mark and Unmark are much more descriptive of what is going on than are the words Select and Unselect.

It’s not just groups. For example, you can Select by field values and Unselect by field values. But you are not choosing the field values or not choosing the field values. The field values are fully in play. What you are doing is Marking by field values and Unmarking by field values.

Of course not, Group is a rule. Those are all rules. Select is to edit those rules (and thus their criteria). Unselect is to leave them intact. Add is the Plus sign. As I said at a previous time, I haven’t installed RM10 (still vacationing w/ phone only). My “take” was speculative, based off your shared details, so “reversing” what You did above would seem to be what you’re after. Unselect a rule to “leave a rule alone”. Select a rule to delete the rule. That’s my visual logic “guess” from your screenshots.

In my tests to recreate the issue, there seems to be some additional issues in play when the Rule Type requires a starting person. This may require it’s own post but I’ll include it here since the root cause may well be the index issue that @TomH suggested. Observed symptoms as follows:

If the consecutive rule involve a start person (ie everyone in the tree of, ancestors of, etc), when you delete rule “n” (where n>1), then in addition to deleting rule n, rule n-1 gets mangled. Specifically, while the rule type seems to work as expected, both the “Select/Unselect” radio button setting and start person rin of the deleted rule are incorrectly applied to the rule “n”. For example, if

  • Rule 2 was to “unselect” and the rule type is “Everyone in a tree” with start person = rin 662
  • Rule 3 was to “select” and the rule type is “Ancestors of” with start person = rin 563
  • And then you delete rule 3
  • Rule 2 will now say “select”, rule type = “Everyone in a tree” , and start person = rin 563

Before deleting rule:

After deleting rule 3:

[edit] - moved a secondary issue with Rules Groups to its own thread

1 Like

I’ve observed the same thing. I haven’t mentioned it yet because I try to follow the dictum of trying to confuse only one issue at a time. It was confusing enough just to delete a rule and see the wrong rule became deleted.

My observation of the group problem is as follows. I would use a group to create rule #1, I would select the group, and I would not immediately click on left panel to “save” the name of the group I had selected for rule #1. Instead, I would just click on the big X to begin the definition of rule #2, and rule #1 would revert to the first group in my group list rather than to remaining as my selected group. The first few times this happened to me, I assumed that I must have selected the wrong group by accident. But I had selected the correct group and it didn’t stick. So I have learned always to click the left panel to make my group selection stick. I agree this problem probably needs to be its own thread.

As far as the rest of your message, much thanks for doing the research on cases other than mine. As I said, I wanted to focus on why the wrong rule was being deleted before I explored any other little foibles associated with creating a list of rules. I think there are a number of cases where you can build a set of rules and the set of rules you build are not the set of rules that become saved. This is especially the case if you edit the list of rules after it is built. It’s like your various rules become conflated together and deleting one rule changes some of the other rules.

Yeah, am guilty of being lazy… <again>. Moved that issue to a separate thread

1 Like