mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-09-17 14:21:39 +00:00
* MNT-20500 - Admin console breaks with serialised objects (#291) * Added macro convertToJSON to recursively parse hashes and enumerables * Added attempt/recover in macros to handle errors and not break the page * Changed the output of serialized objects to JSON format (cherry picked from commitce62fb1da3
) * MNT-20500 - Admin console breaks with serialised objects (#536) * In node browser: ** Added macro convertToJSON to recursively parse hashes and enumerables ** Added attempt/recover in macros to handle errors and not break the page ** Changed the output of serialized objects to JSON format * In both admin console and node browser: ** Adjusted consistency of the ouput when an error occurs ** Validate the depth of each hash. When we find a hash with over 1000 elements, we throw an error instead of displaying the object. Used the stop tag to effectively force an abort of the template processing preventing performance or security issues regarding very large objects. (cherry picked from commitd7ec130756
)