Chatter Within Record

  • 1
  • Problem
  • Updated 5 years ago
  • Solved
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Old Questions

I have a page for a custom object that has a Chatter feed on it.  The Chatter feed within the record won't allow any users to create a new post of any type.  We can see previous Chatter posts on the feed and also comment on them, but nothing happens after we click the new post button (or file, link, poll). 

I upgraded to 4.11 the other day.  I just noticed the problem, but this is the first time I've tried creating a new Chatter post.  It appears to be affecting all of our users.
Photo of Colby

Colby

  • 614 Points 500 badge 2x thumb

Posted 5 years ago

  • 1
Photo of Colby

Colby

  • 614 Points 500 badge 2x thumb
I also forgot to mention that it's happening on all of our Skuidified pages with a Chatter feed.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,268 Points 20k badge 2x thumb
That is strange Colby. We will try to reproduce on our end. 
Photo of Colby

Colby

  • 614 Points 500 badge 2x thumb
Another tidbit...we tried on both IE 10.0.9200.16750 and Chrome 33.0.1750.154  without success.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,268 Points 20k badge 2x thumb
Here are some questions.  
1. Does Chatter work when you preview a page directly from within Skuid?   (find page in pages list and then preview).

2. What kind of page override code are you using (in the VF pages that are used to override the Salesforce nav)

3. If you go to the standard page layout for the object at hand,  does chatter work?   (see this help doc:  http://help.skuidify.com/s/tutorials/m/page-assignments-and-overrides/l/102550-how-do-i-get-back-to-... ) 
Photo of Colby

Colby

  • 614 Points 500 badge 2x thumb
1. It does not work when I preview from within Skuid.

2.  This is what I have for that particular VF page- 
<apex:page standardController="Work_Order_Parent__c" action="{!redirect}&actiontype=View&objecttype=work_order_parent__c" extensions="skuid.Redirects"/>
3.  Chatter seems to work perfectly on the standard layout for this object.
Photo of Colby

Colby

  • 614 Points 500 badge 2x thumb
Is there a way for me to downgrade to a previous version and see if that changes anything?
Photo of John Nelson

John Nelson, Product Manager

  • 3,304 Points 3k badge 2x thumb
Colby, are you running Salesforce Spring 14 in this org? Had another user show me the exact same issue and the error seems to be coming from SF's Chatter.js. 
Photo of Colby

Colby

  • 614 Points 500 badge 2x thumb

Yes, we are running Spring 14

Photo of John Nelson

John Nelson, Product Manager

  • 3,304 Points 3k badge 2x thumb
Ok, thanks. That should help us narrow the search a bit. 
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,530 Points 10k badge 2x thumb
Colby, I think we've identified the issue.  It is currently affecting users who are on Spring 14.  Can you add the following code as a "In-Line" javascript resource to your page and let me know if this fixes the issue?


// This is a fix for a bug in Skuid versions lower than 4.12 to make the chatter component work
// in Spring 14.  It should be included as an "In-line" resource on pages where you want this fix.
// Do not include this as an "In-line (snippet)".
// If you are running a skuid version later than 4.12, please remove this fix.
(function(skuid){
var $ = skuid.$;
skuid.componentType.register('social',{
onlyRenderOnce: true,
render: function(element,xmlDef,component) {
component.unregister = function(){
skuid.component.Component.prototype.unregister.call(component);
$('.shadowDiv').remove();
}
var externalelem = $('#' + xmlDef.attr('domid'));
if (externalelem.length){
$(function() {
element.append(externalelem.show());
});
}
}
});
})(skuid);


Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,530 Points 10k badge 2x thumb
just a note, this should be an "In-Line" resource, not a "In-Line (Snippet)" resource.
Photo of Colby

Colby

  • 614 Points 500 badge 2x thumb

I added it to one of the problem pages and.....it works!

Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,530 Points 10k badge 2x thumb
Awesome, a real fix for this should be coming out in the next few days.  You should just remove this resource if you're using a Skuid version of 4.12 or later.
Photo of Zach McElrath

Zach McElrath, Employee

  • 50,362 Points 50k badge 2x thumb
This has been fixed as of Skuid 4.14, now available from the Skuid Releases page. We will be pushing an upgrade that includes this fix over the next couple of days, but we recommend installing 4.14 before that to resolve this issue.
(Edited)

This conversation is no longer open for comments or replies.