When I access a view, and try to edit/add a field, the overlay shows up but without any content. Afterwards I always get the following warning:
Warning: json_encode(): Invalid UTF-8 sequence in argument in json_encode() (line 4972 of .../includes/common.inc).
Also, if I try to reload the views options page, and access a field again, an alert window pops up with this content:
Ein AJAX-Fehler ist aufgetreten. HTTP-Rückgabe-Code 500
Im folgenden finden Sie Debugging-Informationen...
I googled without getting any helpful result.
I would be very happy if someone could help me on this one.
Related
Technology:
We are using Dotnet Framework 4.7.2., EPiServer CMS 11, EPiServerFormsCore 4.30.4 NuGet package, EPiServerFormsUI 4.30.4 NuGet package.
Issue:
Error message in the validators, which are added to the forms element (for example the Text block) are preventing the element from being published properly (the Error message of validator is not saved correctly, which causes the problems with publishing block).
When any validator which is derived from the ElementValidatorBase class (EPiServerFormsCoreValidation namespace) is ticked in the forms element block, the publishing is not completing successfully. Looks like the Error message cannot be saved and read properly, which causes unpredictable behavior.
Additionally, if you untick all the validators of the form element, the problem will disappear. If you don't add any value to the Error message, it will still cause the same problem.
1.A validator is added to the element and field of the validator is edited, element is published (everything works fine):
[validator][1]
[published][2]
2.After we quit the page in the CMS (for example we press F5 and update the page): “Publish changes” appears again, when no changes were done to form element and Error messages are reset to default. Every time you access the element once again, it will keep resetting the Error message to default state and element will be marked as "to publish".
[autosaved][3]
[to-publish][4]
[error-message-gone][5]
If anybody has any ideas what this issue could be related to, I would appreciate it very much.
Thanks in advance.
[1]: https://i.stack.imgur.com/0ynRJ.png
[2]: https://i.stack.imgur.com/kTUKh.png
[3]: https://i.stack.imgur.com/2siNA.png
[4]: https://i.stack.imgur.com/Jq9u0.png
[5]: https://i.stack.imgur.com/31D3l.png
ReactStrap Input Validation
Hey there! I am trying to implement validation in my form. I am using ReactStrap in my app. However, the validation isnt working for valid or invalid input. Below is what I have done. Valid ={boolean} does not give an error message (but does not work) whereas invalid gives an error message that says invalid requires a string as you can see in the error message below.
Any help is appreciated.
<FormText>Valid PPSN: 7 digits followed by a letter</FormText>
<FormFeedback valid={false}>
You will not be able to see this
</FormFeedback>
<FormFeedback invalid={true}>
You will be able to see this
</FormFeedback>
As the error clearly mentioned, you need to use string for invalid. It's basically a message to tell why the field is invalid.
I'm not completely sure if you even need valid.
Umbraco uses angularJS as based library and backoffice totally developed on it. The reason telling first is to tell that I have a field on which URL regular expression applied. If someone entered invalid url like below image
it shows error as need.
But if a user try to remove whole text by selecting it and removing at once. It still keep appearing the error like this
However, if a user erase text one by one like this
then the validation error removed and user need to click on button to see error again.
I would to know how screen 3 state can be achievable when user remove all text together? Its really annoying behavior for a user to remove text character one by one to refresh the state of the field. Screen 3 state should be applied on screen 2.
Can anybody tell me how it can fix or achievable? Right now, it seems like a default behavior.
Looking forward to hear from you guys. Suggestions will be much appreciatable.
Regards o
I've looked into this issue. This seems to be a product bug.
When you remove whole text at once, newValue is an empty string and the code responsible for resetting error messages doesn't run. If you have access to the umbraco code, you can easily fix it by removing highlighted check:
I have a adf application and on visiting to a page this exception is coming.
Its coming randomly and upon searching on google not getting any specific solution. Sometimes its coming on table row selection, sometimes its on clicking a button. Please suggest what is the cause and how to fix it.
Exception like:
oracle.jbo.InvalidObjNameException: JBO-25005: Object name oracle_jbo_uicli_binding_JUIteratorBinding_281 of type Iterator Binding Definition is invalid.
The issue got resolved by adding attribute EnableTokenValidation="false" in pagedef file.
According to the section 'The Controller-View Relationship' located in http://www.recessframework.org/page/controlling-the-controller :
Try removing the body of the printIt method and refresh to get an error indicating no view template at 'helloWorld/views/printIt.php' can be found.
I tried this and upon refreshing the page, saw []. I checked the response header and it was of type application/json. Could this have something to do with it? I've tried installing Recess on another machine and it resulted in the same behavior.
Can someone tell me how to get an error???