-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbptk browsing when parent record is missing #483
Comments
Could you provide some more details on how to replicate this error message? Namely, how was this SIARD loaded? Was it modified after loading? Are you using these "Is referenced by..." links: to navigate from one table to another, or are doing it another way? Also, what version of DBPTK UI are you using? |
No, I did not modified this siard after loading. As you were asking about the version then now it is new version and the error message is changed: Version: |
the issue occurs even when you click on a record that has a foreign key to a record in the table that is missing |
The version you've posted is not the latest (it's from late 2023). Make sure you've set the DBPTK's tag to |
I removed all conteiners from docker. Then "sudo docker compose up" and now the log is filled with errors: .4.1/server |
My mistake, the |
Ok, now I got it working. {"git.build.user.email":"","git.build.host":"fv-az1278-752","git.dirty":"false","git.remote.origin.url":"https://github.com/keeps/dbptk-ui","git.closest.tag.name":"v2.9.2","git.commit.id.describe-short":"v2.9.1-7","git.commit.user.email":"[email protected]","git.commit.time":"2024-10-16T15:51:44+0000","git.commit.message.full":"Setting version 2.10.0","git.build.version":"2.10.0","git.commit.message.short":"Setting version 2.10.0","git.commit.id.abbrev":"8793c51","git.branch":"8793c51cfff44352a2833830d5a3b0745f116aa8","git.build.user.name":"","git.closest.tag.commit.count":"923","git.commit.id.describe":"v2.9.1-7-g8793c51","git.commit.id":"8793c51cfff44352a2833830d5a3b0745f116aa8","git.tags":"v2.10.0","git.build.time":"2024-10-16T15:55:21+0000","git.commit.user.name":"Gabriel Barros"} But the error is still the same: |
When browsing between tables in the dbptk ui you can nicely move from one table to another. Very often in our database snapshots some of the parent keys are missing as the tables or rows were excluded due to the migration requirements.
When you click on such reference than dbptk ui tells you "a.b is null error".
In the log there is similarly few information
dbptke-1 | 2025-01-28 13:00:16.536 ERROR 1 --- [nio-8080-exec-4] Uncaught : [192.168.6.86] Uncaught Exception: (TypeError) : a.b is null
dbptke-1 |
dbptke-1 | java.lang.Throwable: null
dbptke-1 | at Unknown.$A(RowPanel.java:516)
dbptke-1 | at Unknown.cB(RowPanel.java:515)
So in such cases there should be more pretty error message so that user can understand it is data issue and not some bug with dbptk.
The text was updated successfully, but these errors were encountered: