Add location information to the error log for RO Image problems
This commit is contained in:
parent
a54c2eaa09
commit
a2d8712b83
@ -971,7 +971,7 @@ namespace Volian.Print.Library
|
||||
DocVersionInfo dvi = proc.ActiveParent as DocVersionInfo;
|
||||
ROFstInfo rofst = dvi.DocVersionAssociations[0].MyROFst;
|
||||
ROImageInfo roImage = ROImageInfo.GetByROFstID_FileName(rofst.ROFstID, vals[0]);
|
||||
if (roImage == null) roImage = rofst.GetROImageByFilename(vals[0]);// need code to go and get an ROImaage if it exists
|
||||
if (roImage == null) roImage = rofst.GetROImageByFilename(vals[0],MyItemInfo);// need code to go and get an ROImaage if it exists
|
||||
if (roImage != null)
|
||||
{
|
||||
ROImageConfig rc = new ROImageConfig(roImage);
|
||||
@ -2765,7 +2765,7 @@ namespace Volian.Print.Library
|
||||
if (val == "?")
|
||||
{
|
||||
erMsg = string.Format("Referenced Object does not exist.");
|
||||
_MyLog.WarnFormat("Missing Referenced Object {0} in {1}", subs[1], itemInfo.ShortPath);
|
||||
_MyLog.WarnFormat("\r\nMissing Referenced Object {0} in {1}", subs[1], itemInfo.ShortPath);
|
||||
yoff += 2 * SixLinesPerInch;
|
||||
}
|
||||
else if (val != null && val != "?")
|
||||
@ -2796,7 +2796,7 @@ namespace Volian.Print.Library
|
||||
ImageText = val;
|
||||
else
|
||||
{
|
||||
roImage = rofst.GetROImageByFilename(vals[0]);// need code to go and get an ROImaage if it exists
|
||||
roImage = rofst.GetROImageByFilename(vals[0],MyItemInfo);// need code to go and get an ROImaage if it exists
|
||||
if (roImage == null)
|
||||
erMsg = string.Format("Image {0} does not exist.", vals[0]);
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user