Return to Jive Software

3,237 Views 15 Replies Last post: Jun 23, 2009 5:53 AM by Todd West RSS
mwong6 Novice 82 posts since
Jul 19, 2007
Currently Being Moderated

Jun 18, 2009 3:47 PM

Can only see attachments when editing

So far we discovered two documents in which their attachments are not visible unless you are in edit mode.

 

screen-invisible-attachments.gif

 

Our users mentioned that this may have occurred when attempting to replace an attachment so we are investigating the exact actions.

 

There does not seem to be anything unusual checking the jiveAttachment table in the database.

We even experimented on a test environment to see what happens if we removed the attachments through SQL.

 

Though there only has been two incidents found so far, we need to figure out a way to correct this visibility problem in case there are other documents (possibly other content types) having the same issue.

 

We are currently using Clearspace 2.5.7 updating from 1.10.x back in Mar 2009.

However, both documents were created recently in the past 30 days.

Todd West Jive Employee 15,918 posts since
Jul 14, 2008
Currently Being Moderated
Jun 18, 2009 3:55 PM in response to: mwong6
Re: Can only see attachments when editing

Hi Mel,

 

This appears to be a known issue that you are experiencing here (ID#: CS-9661). The problem occurs if you have attachments on a document and Save the document as a draft. It will cause the attachments to not display here but display during edit. This issue has been fully fixed as of 2.5.9. Please let me know if you have any questions. Thanks.

 

-Todd

Todd West Jive Employee 15,918 posts since
Jul 14, 2008
Currently Being Moderated
Jun 18, 2009 4:06 PM in response to: mwong6
Re: Can only see attachments when editing

Hey Mel,

 

Is there an interim fix to clean the "corrupted" document or attachments in the meantime?

 

Unfortunately not. You should be able to delete the entries from the jiveAttachment table to get rid of the "ghost" entires but this data is lost. These attachments cannot be recovered from the database.

 

-Todd

Todd West Jive Employee 15,918 posts since
Jul 14, 2008
Currently Being Moderated
Jun 19, 2009 6:02 AM in response to: mwong6
Re: Can only see attachments when editing

Hi Mel,

 

No, if the attachments are not showing up correctly they have already been corrupted in the database and we are not checking for this. You should be able to find all of the broken attachments in jiveAttachment because they will not have a corresponding entry in jiveAttachData. Thanks.

 

-Todd

Todd West Jive Employee 15,918 posts since
Jul 14, 2008
Currently Being Moderated
Jun 19, 2009 11:29 AM in response to: mwong6
Re: Can only see attachments when editing

Hi Mel,

 

Just to be certain, the attachments do become corrupted so they need to be removed from the database?  We cannot add the missing entries in jiveAttachData as an alternate solution?

 

You might be able to do this. It seems just as easy to remove the entries from the jiveAttachment table and then use the UI to add them back. Each entry in jiveAttachment should have a corresponding entry in jiveAttachData which holds the actual data of the uploaded attachment. If either one is missing it is considered orphaned data. Thanks.

 

-Todd

Todd West Jive Employee 15,918 posts since
Jul 14, 2008
Currently Being Moderated
Jun 19, 2009 11:50 AM in response to: mwong6
Re: Can only see attachments when editing

No problem! Please let me know if you need anything else.

 

-Todd

Todd West Jive Employee 15,918 posts since
Jul 14, 2008
Currently Being Moderated
Jun 22, 2009 6:32 AM in response to: mwong6
Re: Can only see attachments when editing

Would you pelase show me a screenshot of what you are seeing here?

 

Also, it is a little odd that they had a corresponding entry in jiveAttachData. You should be able to confirm that this is the same bug by doing the following:

 

1. Create a new document with attachments and don't save as a Draft. They should work

2. Create a new document with attachments and save as draft then publish, they should be broken.

 

-Todd

Todd West Jive Employee 15,918 posts since
Jul 14, 2008
Currently Being Moderated
Jun 22, 2009 10:52 AM in response to: mwong6
Re: Can only see attachments when editing

You will definitely want to restart after making a database change like this. A cache clear might be enough but I would suggest a restart. Thanks.

 

-Todd

Todd West Jive Employee 15,918 posts since
Jul 14, 2008
Currently Being Moderated
Jun 23, 2009 5:53 AM in response to: mwong6
Re: Can only see attachments when editing

Excellent, let me know if you need anything else. Thanks!

 

-Todd

More Like This

  • Retrieving data ...

Bookmarked By (0)

Case Product Issues

Loading Jira issues

Loading related product issues for this case
To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.