Skip to content

Issue fixes#104

Merged
fmazmz merged 4 commits intomainfrom
issue-fixes
Jan 12, 2026
Merged

Issue fixes#104
fmazmz merged 4 commits intomainfrom
issue-fixes

Conversation

@fmazmz
Copy link
Copy Markdown
Member

@fmazmz fmazmz commented Jan 12, 2026

closes #98

…vice

- Added regex validation for Organization Number (10 digits) in CliApp.createCompany()
  to give immediate feedback before asking for email and other fields.
- Added backend validation in CompanyService.create() to prevent persisting invalid org numbers.
- Updated log messages to reflect invalid org number attempts.
…n CLI

- Added retry loop in selectCompany() for invalid inputs.
- User can now type 'cancel' to exit selection.
- Handles non-numeric input and out-of-range numbers without crashing.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jan 12, 2026

Warning

Rate limit exceeded

@fmazmz has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 20 minutes and 2 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 3be9ab0 and 653419e.

📒 Files selected for processing (1)
  • src/main/java/org/example/CliApp.java

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@fmazmz fmazmz merged commit 9fa5041 into main Jan 12, 2026
2 checks passed
@fmazmz fmazmz deleted the issue-fixes branch January 12, 2026 08:43
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.

Program crashes when selecting a company by typing its name instead of number in Company Setup

2 participants