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

Umbraco Forms and Rich text editor field in Azure web app #1302

Open
renaldas opened this issue Aug 7, 2024 · 2 comments
Open

Umbraco Forms and Rich text editor field in Azure web app #1302

renaldas opened this issue Aug 7, 2024 · 2 comments
Labels

Comments

@renaldas
Copy link

renaldas commented Aug 7, 2024

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.4.1

Bug summary

I am encountering an issue while using Umbraco Forms (version 13.2.1) when saving content with the Rich Text Editor. The error only occurs when the project is hosted on Azure Web App, while it functions correctly in my local development environment.

Endpoint: umbraco/backoffice/UmbracoForms/Field/ValidateSettings
Error: 500 Internal Server Error
Exception Message: "Object reference not set to an instance of an object."
Console Log Snippet:

umbraco-backoffice-j…139254866c26caa:147 Possibly unhandled rejection: {"data":{"ExceptionMessage":"Object reference not set to an instance of an object.","ExceptionType":null,"StackTrace":null},"status":500,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"backoffice/UmbracoForms/Field/ValidateSettings","data":{"caption":"Payment","tooltip":null,"placeholder":null,"cssClass":null,"alias":"payment","id":"ffe59913-bd22-4c46-efea-cf5b321b10de","fieldTypeId":"1f8d45f8-76e6-4550-a0f5-9637b8454619","prevalueSourceId":"00000000-0000-0000-0000-000000000000","dataSourceFieldKey":null,"containsSensitiveData":false,"mandatory":false,"regex":null,"requiredErrorMessage":null,"invalidErrorMessage":null,"condition":{"id":"cf835316-47f5-4742-affd-db9616aa62f7","enabled":false,"actionType":"Show","logicType":"All","rules":[]},"settings":{"Html":{"markup":"<p data-pm-slice=\"1 1 [&quot;table&quot;,{},&quot;table_row&quot;,{},&quot;table_cell&quot;,{&quot;colspan&quot;:1,&quot;rowspan&quot;:1,&quot;colwidth&quot;:null}]\"><em>An invoice will be generated on receipt</em></p>\n<p data-pm-slice=\"1 1 [&quot;table&quot;,{},&quot;table_row&quot;,{},&quot;table_cell&quot;,{&quot;colspan&quot;:1,&quot;rowspan&quot;:1,&quot;colwidth&quot;:null}]\">&nbsp;</p>\n<p data-pm-slice=\"1 1 [&quot;table&quot;,{},&quot;table_row&quot;,{},&quot;table_cell&quot;,{&quot;colspan&quot;:1,&quot;rowspan&quot;:1,&quot;colwidth&quot;:null}]\"><em>teststt</em></p>","blocks":{"layout":{"Umbraco.TinyMCE":[]},"contentData":[],"settingsData":[]}},"ShowLabel":"False"},"preValues":[],"allowedUploadTypes":null,"allowMultipleFileUploads":true,"removePrevalueEditor":true},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8","X-Requested-With":"XMLHttpRequest","X-UMB-XSRF-TOKEN":"x"}},"statusText":"","xhrStatus":"complete"}

The error occurs specifically when trying to save settings related to the Rich Text Editor.

Any ideas, thank you :)

Steps to reproduce

Host in Azure web app
Edit the form with rich text field
Save and you will see error

Copy link

github-actions bot commented Aug 7, 2024

Hi there @renaldas!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

  • We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
  • If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
  • We'll replicate the issue to ensure that the problem is as described.
  • We'll decide whether the behavior is an issue or if the behavior is intended.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot 🤖 🙂

@iOvergaard iOvergaard transferred this issue from umbraco/Umbraco-CMS Oct 2, 2024
@AndyButland
Copy link

Hi - this only just got transferred over to the Forms tracker so I've only now seen it. But I'm not able to replicate on an Umbraco Cloud site (which uses Azure web apps) and the latest version of Umbraco Forms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants