fix: paste guests, form errors, send feedback, check-in errors, invite recipients

Found by the manual e2e of the production build:
- paste guests preview counted an array, so it read "[object Object]"
  and never offered Save guests;
- New event and Add user errors now clear when the field is fixed;
- "Send to all unsent" says when nothing was unsent;
- the check-in lookup shows an error on an empty submit and carries the
  typed email or mobile into the walk-in form;
- invitation emails sent over Pub/Sub now save their recipient's link,
  so the Emails page shows the recipient.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-02 01:38:37 +08:00
1 parent 4b1645ff64
commit b4d36175d3
13 files changed
+206 -18

No files matched your search

@@ -38,6 +38,8 @@ public class EmailService {
public Email save(Email email) {
// A published email may carry "sender": null, which overrides the entity default; keep the column filled.
if (email.getSender() == null) email.setSender(com.solvway.services.email.constants.EmailConstant.EMAIL_SENDER);
// Published emails arrive without the recipient back-reference, which would save email_id as NULL.
if (email.getRecipients() != null) email.getRecipients().forEach(r -> r.setEmail(email));
return emailRepository.save(email);
}
@Transactional