User tests: Successful: Unsuccessful:
if Itemval was fill from multilne textarea, on line 91 on uncompressed original cms file, fail.
Preprocessing it doesnt happen.
Pull Request for Issue # .
Add a check before of error, and transform textarea itemval into an array with only one element without using JSON.parse.
create a custom field with more than one line on textarea
create a item with textarea value
page stop processing on line 91
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript |
Hi I try to give you a full report.
My issue born in a new component view, I've a custom field that create a children formfield for subform standard field, my subclass create a subform with some standard custom fields.
It work correctly but when I fill a textarea with 2 lines of code it break the js.
Now I've reproduce the same situation with a subform "statical" with standard fields only
(I place the XML for view attached to this comment, you can use everywhere instead of component view xml into this zip file form.zip
I can not reproduce your issue. Perhaps some screenshots can help us???
This is the rendering of view when you place 1 line text on textarea
It will be loaded correcty, but if you place 2 lines text on textarea
And save
The form "break" on Javascript.
On firefox debug console:
Using my fix form will reload correctly
If i can add some info write me back.
Thanks
I can not reproduce your issue. Perhaps some screenshots can help us???
I've tested with current Joomla 3.9.16-beta. Or are you talking about Joomla 3.10?
What I've tried:
- All inside Joomla backend.
- I activated Debug Mode to load cms-uncompressed.js in backend.
- I created a custom field of type Textarea for Articles.
- I entered multiple lines in field "Default Value". I don't know where else???
- And I don't see errors in JS browser console or elsewhere when I save the field.
- I don't see errors in JS browser console or elsewhere when I save an article with several lines in this textarea field.
Did you see my last replay with details, can I tell you anything more?
Doers it mean that the issue appears only with your custom component?
Doers it mean that the issue appears only with your custom component?
I find a issue, on my component, I dont know if someone do the same thing, find the same problem.
when I made my code call the function and fail... I dont know anything else.
TY for your time, I stop to develop joomla related software 2 years ago.
no problem will close here as the issue could not be reproduced.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-06-12 17:35:20 |
Closed_By | ⇒ | zero-24 | |
Labels |
Added:
?
Removed: ? |
I can not reproduce your issue. Perhaps some screenshots can help us???
I've tested with current Joomla 3.9.16-beta. Or are you talking about Joomla 3.10?
What I've tried: