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
Prevalues fail with no caption #1140
Comments
Strange... I agree the code you have shown looks problematic, but in testing I don't see a problem here. Even with the |
It definitely causes an error. Just came across it again for a different client. Just update a form definition in the database with the prevalues like this to see the error
|
What version are you on now please @alandraper where you are seeing this problem still? |
They're on 11.2.1
…On Wed, Mar 13, 2024 at 8:48 AM Andy Butland ***@***.***> wrote:
What version are you on now please @alandraper
<https://github.com/alandraper> where you are seeing this problem still?
—
Reply to this email directly, view it on GitHub
<#1140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIKSCJXTPDODHLFSYHC653YYBYOHAVCNFSM6AAAAABBACNNVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUG4ZTKNJXGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
OK, so they won't have the fix I'm afraid - this was resolved in 12.2.2 and 13.0.1 as per the labels on this issue. Forms 11 (and Umbraco 11) is "end of life" now though, so we aren't planning to make further updates to that version. Ideally I think you would get them onto Umbraco 13, which is a "long-term support" version. |
Yep. Was just showing how you can replicate the error.
And yes, the upgrade will happen as soon as time & budget allow.
…On Wed, Mar 13, 2024 at 8:57 AM Andy Butland ***@***.***> wrote:
OK, so they won't have the fix I'm afraid - this was resolved in 12.2.2
and 13.0.1 as per the labels on this issue. Forms 11 (and Umbraco 11) is
"end of life" now though, so we aren't planning to make further updates to
that version. Ideally I think you would get them onto Umbraco 13, which is
a "long-term support" version.
—
Reply to this email directly, view it on GitHub
<#1140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIKSCILSQSJQPK5ZKOXVTLYYBZOXAVCNFSM6AAAAABBACNNVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUG43TENZRGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Umbraco Forms 11.2.1
Adding a dropdown list and filling in the Values but not the Captions causes a null reference exception reading the form
Reproduction
Create a new form; add a dropdown; add some prevalues, but leave the "Captions" blank.
Save the form and reload the page.
The form will be unreadable and undeletable. The only way to fix it is to edit the json directly in the database.
The error is in FieldPrevalueJsonConverter.cs which seems like it needs some null reference checks
This item has been added to our backlog AB#36279
The text was updated successfully, but these errors were encountered: