-
Notifications
You must be signed in to change notification settings - Fork 6
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
Controlled vocabularies not working #39
Comments
Good catch! My existing test for this (https://github.com/longevityframework/longevity/tree/master/longevity/src/test/scala/longevity/integration/model/controlledVocab) didn't catch the bug because the problem only comes up when all the deriveds are case objects. In my test case, one of the deriveds was a case class. I have a fix locally, it will take a bit to go through the rigamarole of creating a bugfix release.. |
@sullivan- One thing to note is that while adding a case class as a derived component, it will compile, but it still won't work if you try to persist an instance with a case object. Not sure if you already noted that, but just making sure. |
@mardo can you please try with version 0.25.1 and let me know if it fixes the problem? Thanks |
It works, @sullivan-! Thanks a lot! |
I have followed the steps here:
http://longevityframework.org/manual/poly/cv.html
My Model looks like this:
When trying to persist a user, I am presented with the following error:
The text was updated successfully, but these errors were encountered: