actionwave34F
Member
The probem is that Modal-windows not close and the list "behind" is not updated by AJAX. The data is written to the database and appears after closing Modal and refresh the page.
After som testing this pattern appears. It's 3 field types that is making this when they are used as filters.
============================================================================
First it's field type DATA
You see the problem if you navigate in frontend:
HRM -> Attendence -> Klick on any link in the Start column to edit.
Then if you save, this (truncated) trace from Firebug Console will appear that shows a <script> block after the JSON-string giving a JSON.parse SyntaxError.
============================================================================
Next is the field type Cascading Dropdown
You see the problem if you navigate in frontend:
HRM -> Employee -> Klick on any link in the First name column to edit.
Then if you save, this (truncated) trace from Firebug Console will appear that shows a <script> block after the JSON-string giving a JSON.parse
============================================================================
The last (in this installation...) is field type Fileupload
You see the problem if you navigate in frontend:
MISC -> Documents -> Open anyone and save. This will get this trace from Firebug Console. Showing sme error in string/ array??
==========================================================================
Regards,
Olle Zettergren - Actionwave
After som testing this pattern appears. It's 3 field types that is making this when they are used as filters.
============================================================================
First it's field type DATA
You see the problem if you navigate in frontend:
HRM -> Attendence -> Klick on any link in the Start column to edit.
Then if you save, this (truncated) trace from Firebug Console will appear that shows a <script> block after the JSON-string giving a JSON.parse SyntaxError.
Code:
[the end of the JSON-string] <input type=\"hidden\" name=\"limitstart3\" id=\"limitstart3\" value=\"0\" \/>\n<\/div>","calculations":{"sums":[],"avgs":[],"medians":[],"count":[],"custom_calc":[]}}<script>
setTimeout(function(){
jQuery.getScript( "http://192.168.42.132/awbiz-hrm/media/com_fabrik/js/lib/require/require.js", function() {
requirejs(['element/date/filter-min'], function () {
});
});
}, 600);
</script>
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 35172 of the JSON data
============================================================================
Next is the field type Cascading Dropdown
You see the problem if you navigate in frontend:
HRM -> Employee -> Klick on any link in the First name column to edit.
Then if you save, this (truncated) trace from Firebug Console will appear that shows a <script> block after the JSON-string giving a JSON.parse
Code:
[the end of the JSON-string] <input type=\"hidden\" name=\"limitstart2\" id=\"limitstart2\" value=\"0\" \/>\n<\/div>","calculations":{"sums":[],"avgs":[],"medians":[],"count":[],"custom_calc":[]}}<script>
setTimeout(function(){
jQuery.getScript( "http://192.168.42.132/awbiz-hrm/media/com_fabrik/js/lib/require/require.js", function() {
requirejs(['element/cascadingdropdown/filter-min'], function () {
});
});
}, 600);
</script>
SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 67647 of the JSON data
============================================================================
The last (in this installation...) is field type Fileupload
You see the problem if you navigate in frontend:
MISC -> Documents -> Open anyone and save. This will get this trace from Firebug Console. Showing sme error in string/ array??
Code:
Warning: strrpos() expects parameter 1 to be string, array given in /var/www/t/awhrm/libraries/joomla/filesystem/file.php on line 30
Warning: substr() expects parameter 1 to be string, array given in /var/www/t/awhrm/libraries/joomla/filesystem/file.php on line 32
Warning: strrpos() expects parameter 1 to be string, array given in /var/www/t/awhrm/libraries/joomla/filesystem/file.php on line 30
Warning: substr() expects parameter 1 to be string, array given in /var/www/t/awhrm/libraries/joomla/filesystem/file.php on line 32
Warning: strrpos() expects parameter 1 to be string, array given in /var/www/t/awhrm/libraries/joomla/filesystem/file.php on line 30
Warning: substr() expects parameter 1 to be string, array given in /var/www/t/awhrm/libraries/joomla/filesystem/file.php on line 32
{"msg":"","url":"https:\/\/awhrm.actionwave.se\/en\/com-en\/documents-en","baseRedirect":true,"rowid":"5","suppressMsg":true}: SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data
Regards,
Olle Zettergren - Actionwave