Project

General

Profile

Actions

Bug #8925

closed

CB Repeat: ids, names, and for attributes containing underscores breaks normalizing

Added by krileon over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
11 April 2022
Due date:
% Done:

100%

Estimated time:

Description

These values are normalized so they can replace matching child nodes, but this breaks if for example the name contains an underscore. Example as follows.

cbfr_integrations__options_prices____0___first_different

SHOULD normalize to the following.

integrations__options_prices____0

This is then indexed to the next index becoming the following.

integrations__options_prices____1

Now every child node with integrations__options_prices____0 in its ID becomes integrations__options_prices____1. Except this fails since the normalization doesn't happen due to the underscore in first_different. The result is conditions dependent on first_different in the new repeat row don't update.

Actions

Also available in: Atom PDF