Adding a group member - bug ???
Sergei Myshliakov <[email protected]> Thu, 3 Oct 2024 22:36:17 +0300
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, In my previous post I asked how to create a group of addresses - I already figured it out. Now I ran into another problem: When I added a few members to a group with web admin api I got 500 error because it put all the members into the the same row in database (I use James 3.8.1 with Derby db network server) and TARGET_ADDRESS field is not big enough (var(100)) the record in db looks like that: | DOMAIN_NAME | USER_NAME | TARGET_ADDRESS | | example.com | test | group:[email protected];group:[email protected];group:[email protected];group:user@ex | I think it's a bug, web admin api should put each member into a new row. Later when needed we can get all the members like that select TARGET_ADDRESS from JAMES_RECIPIENT_REWRITE where DOMAIN_NAME='example.com' and USER_NAME='test'