Hi Ed and everyone involved,

I've just done some additional tests of the form, until I saw James'
email, then I found an email in my inbox that asked me to confirm my
account, I did so - and you should have my application for the Jira
account by now. Thank you for your help!

Kindest Regards,
Felix


On 18/02/2025 16:47, Ed Cable wrote:
Felix, when I tried to create the account for you using the self-service
link, it told me the name was already being used. I replaced it with the
username you have for your email and that request went through but I'm not
seeing it in our queue for approval yet.

On Tue, Feb 18, 2025, 07:28 James Dailey <[email protected]> wrote:

Felix -  to verify, to request an account, you are going to ==>
https://selfserve.apache.org/jira-account.html

Jira is unified across all of ASF, one account, so it could be conflicting
if your previous handle is linked to your email.
See if you can get use a different email or recover your password.


On Tue, Feb 18, 2025 at 1:40 AM Felix van Hove <[email protected]> wrote:

Hi Ed,

Many thanks for getting back to me!

Regarding the sign-up form: I have tried both Chrome on Windows and
Firefox on Debian - it doesn't work. I've had a look at the Javascript
and it's not an issue with the client code. I can see the correct data
being sent to their endpoint coming back with the cited error message.
(Feel free to try yourself with my data!)

I was wondering, if this error is a "capture all" error handler that
only knows this message. I was a contributor to Apache JMeter about 20
years ago, maybe they already have me somewhere in one of their
databases - but surely not in the Jira one!?

Kind Regards,
Felix

On 18/02/2025 05:46, Ed Cable wrote:
Hi Felix, welcome to the community. Thanks for your effort thus far in
finding these bugs and attempting to report them. I will go try to ping
some of the committers and maintainers to review your PRs and respond to
inquiries above.

Regarding the approval of JIRA account, I haven't seen anything come
into
the approval queue since you're getting the error message blocking you
from
submitting. Have you tried via another browser? I can try to submit for
you
as well.

Ed


On Mon, Feb 17, 2025, 05:59 Aleksandar Vidakovic <
[email protected]>
wrote:

... can someone with enough Karma help Felix to get an account on Jira?

@Ed Cable <[email protected]> @James Dailey <[email protected]> ?

On Mon, Feb 17, 2025 at 2:51 PM Felix van Hove <[email protected]

wrote:

Hi everyone,

I'm a Salesforce and Java developer, and have recently started
contributing to the Mifos project (my 2 PRs are still not dealt with,
but never mind). I might also want to start contributing to Fineract.

I've tried to sign up to your Jira - see screenshot. But I've got the
error message

   > Your Jira username contains invalid characters, or is too long

I've shortened my actual name etc., but nothing helped. What is wrong
with me?

One reason I wish I had an account is that I would like to file a bug
report. You can see the history of the bug on Slack, where someone
attempted to create a simple group via the Mifos client. This failed
with the following stack trace on the side of Fineract:

--- snip ---
java.lang.NullPointerException: Cannot invoke "String.equals(Object)"
because "entityType" is null
       at


org.apache.fineract.portfolio.account.service.AccountNumberGenerator.checkAccountNumberConflict(AccountNumberGenerator.java:200)
       at


org.apache.fineract.portfolio.account.service.AccountNumberGenerator.generateAccountNumber(AccountNumberGenerator.java:175)
       at


org.apache.fineract.portfolio.account.service.AccountNumberGenerator.generateGroupAccountNumber(AccountNumberGenerator.java:243)
       at


org.apache.fineract.portfolio.group.service.GroupingTypesWritePlatformServiceJpaRepositoryImpl.generateAccountNumberIfRequired(GroupingTypesWritePlatformServiceJpaRepositoryImpl.java:243)
       at


org.apache.fineract.portfolio.group.service.GroupingTypesWritePlatformServiceJpaRepositoryImpl.createGroupingType(GroupingTypesWritePlatformServiceJpaRepositoryImpl.java:198)
       at


org.apache.fineract.portfolio.group.service.GroupingTypesWritePlatformServiceJpaRepositoryImpl.createGroup(GroupingTypesWritePlatformServiceJpaRepositoryImpl.java:274)
       at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
--- snip ---

I had a look into the AccountNumberGenerator.java. It's clear that
this
user's c_configuration table had random-account-number=enabled. This
might explain, why the problem hasn't popped up before. In its current
state, the method checkAccountNumberConflict requires "entityType" to
be
in some property map. But if you look up the call stack, the
entityType
can't be in the map. The map is built in line 240ff.

The same bug affects two other public generate* methods of this class.
They need to be adjusted too. (And why are there two public methods at
the bottom of the class? I suggest to move them up to the other public
methods.) For people working with random account numbers, this looks
like important.

Kind Regards from Marseille,
Felix van Hove







Reply via email to