Closed Kralizek closed 4 days ago
@rafaelldi were you able to reproduce this issue?
No, unfortunately not. I've tried several times with different versions, and it all works well. If you could create a small repro project and describe the steps, that would be very helpful.
Here is a simple repro that already shows the behavior, but I'm not sure if this is because the databases are not created yet. If that's the case, I can fix that.
I have three of them. But not all the time, I'll check.
Having three of them happens 5% of the times (guesstimate)
Thank you for your help! It should be fixed in the next release #283
I gave a quick look at the PR for curiosity. Now, my Kotlin knowledge amounts to the time I've been looking at your PR, but it feels weird it even showed more than one database at all.
Or am I blind to something in the previous code?
There was a race. It depended on the order in which resources and connection strings came to us. Even if three connection strings had already arrived, we always chose one. But if they came one by one, everything was fine.
Describe the bug My AppHost project contains more than database on the same PostgreSQL container. Only the first one is accessible from the Database panel.
To Reproduce
Expected behavior All database should be added to the panel when the application is started.
System information: