B2016-204 – needed to pass in the document file extension when we create a new word document in converting a library document to a regular word section.

This commit is contained in:
John Jenko 2016-09-14 17:30:16 +00:00
parent 0f4378913f
commit 537ec8c2fe

View File

@ -497,7 +497,7 @@ namespace VEPROMS.CSLA.Library
{
// make new document with 'no' libtitle. Then link this to the item/content via the entry.
// the data gets set below.
Document tdoc = Document.MakeDocument(null, null, null, null, null);
Document tdoc = Document.MakeDocument(null, null, null, null, doc.FileExtension); // B2016-204 added doc.FileExtension
_MyDocument = DocumentInfo.Get(doc.DocID);
doc = tdoc;
using (Entry ent = myItemInfo.MyContent.MyEntry.Get())