Skip to content

Fixed issue #3062 #3067

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Fixed issue #3062 #3067

wants to merge 3 commits into from

Conversation

scf18857887860
Copy link

modify MapWrapper.class, Using regular expressions to determine index does not affect the original logic

  public void set(PropertyTokenizer prop, Object value) {
    if (prop.getIndex() != null) {
      // issue#3062  column alias name contain "[]"
      if (!pattern.matcher(prop.getIndex()).matches()) {
        map.put(prop.getIndexedName(), value);
        return;
      }
      Object collection = resolveCollection(prop, map);
      setCollectionValue(prop, collection, value);
    } else {
      map.put(prop.getName(), value);
    }
  }

@harawata
Copy link
Member

Closing.
See the discussion on #3062 .

@harawata harawata closed this Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants