Skip to content
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

show-clients error #278

Open
huahaiy opened this issue Sep 30, 2024 · 1 comment
Open

show-clients error #278

huahaiy opened this issue Sep 30, 2024 · 1 comment

Comments

@huahaiy
Copy link
Contributor

huahaiy commented Sep 30, 2024

start server with dtlv serv
get-conn from my app (for a normal user)
create a new client from dtlv repl (for datalevin user)
execute (show-clients ...) 2 times

(def dc (new-client "dtlv://datalevin:datalevin@localhost"))
#'user/dc
(show-clients dc)
{#uuid "5beabc6e-6bae-42b8-b683-1a0e6750d553" {:ip "/127.0.0.1", :username "datalevin", :roles [:datalevin.role/datalevin], :permissions [[:datalevin.server/control :datalevin.server/server] [:datalevin.server/create :datalevin.server/database "foxcub"] [:datalevin.server/create :datalevin.server/database "foxcub"]], :open-dbs {"foxcub" {:datalog? true, :dbis #{}}}}, #uuid "a2e25e6c-03fb-403a-aa34-52ab9389f715" {:ip "/127.0.0.1", :username "datalevin", :roles [:datalevin.role/datalevin], :permissions [[:datalevin.server/control :datalevin.server/server] [:datalevin.server/create :datalevin.server/database "foxcub"] [:datalevin.server/create :datalevin.server/database "foxcub"]], :open-dbs {}}, #uuid "102a48a1-e522-4318-829c-d117797cf18b" {:ip "/127.0.0.1", :username "lava", :roles [:datalevin.role/lava], :permissions [[:datalevin.server/view :datalevin.server/role nil] [:datalevin.server/alter :datalevin.server/user "lava"] [:datalevin.server/alter :datalevin.server/database "foxcub"]], :open-dbs {"foxcub" {:datalog? true, :dbis #{}}}}}
(show-clients dc)
Request to Datalevin server failed: "datalevin.datom.Datom cannot be cast to java.lang.Comparable"
user>

@huahaiy huahaiy added bug Something isn't working and removed bug Something isn't working labels Sep 30, 2024
@huahaiy
Copy link
Contributor Author

huahaiy commented Oct 5, 2024

Unable to reproduce here.

huahaiy added a commit that referenced this issue Oct 5, 2024
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

No branches or pull requests

1 participant