AEM 6.2 SP1 communities QnA feature not working
Recently I tried QnA feature in Adobe Communities but the functionality is not working correctly. There is a js error which is blocking the functionality to work.
JS Error
/etc/clientlibs/social/commons/scf/scf.js - line no 357
getForm: function(form) {
return this._forms[form];
}
In above code this._forms is coming as null and breaking the QnA functionality
Modified above code as below to fix js error
getForm: function(form) {
if (typeof this._forms === 'undefined') {
return null;
} else {
return this._forms[form];
}
}
QnA is working fine after making above changes and seems the issue is present in AEM 6.2 SP1 CFP 18, CFP 19.
Updated adobe with above fix
JS Error
/etc/clientlibs/social/commons/scf/scf.js - line no 357
getForm: function(form) {
return this._forms[form];
}
In above code this._forms is coming as null and breaking the QnA functionality
Modified above code as below to fix js error
getForm: function(form) {
if (typeof this._forms === 'undefined') {
return null;
} else {
return this._forms[form];
}
}
QnA is working fine after making above changes and seems the issue is present in AEM 6.2 SP1 CFP 18, CFP 19.
Updated adobe with above fix
Comments
Post a Comment