Developer forum

Forum » PIM » PIM Feeds: Error with Empty Results (Templates)

PIM Feeds: Error with Empty Results (Templates)

Nancy Morano Dynamicweb Employee
Nancy Morano
Reply

Hello,

We have been doing some testing with the PIM Feeds.  We have discovered that when using certain templates, an empty results set throws an exception on a 9.10 site (on https://910a.mydwsite3.com/).  I have attached a recording for more information.  

Here are the errors we are seeing: 

(1) using the template:  Feeds/Dynamicweb CSV.cshtml

(2) using the template:  Feeds/Dynamicweb Xml.cshtml

Thanks so much,

Nancy Morano

 


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Nancy,

Long time no speak! Hope you're well!

Is your issue similar to this? https://doc.dynamicweb.com/forum/pim/pim/publishing-pim-feed-raises-error Removing the fields, saving and adding the ones I  needed back in fixed it for me on most of my feeds. 

Imar

 
Nancy Morano Dynamicweb Employee
Nancy Morano
Reply

Well hello Imar!  Nice to hear from you!   :)

Thanks for referencing your previous post.  After reviewing your post https://doc.dynamicweb.com/forum/pim/pim/publishing-pim-feed-raises-error, unfortunately, we do not believe that this is the solution to the issue that we've seen. The exception message is more generic and it happens with new feeds too.   It only happens when the results are completely empty.   As long as there is at least one result, it’s not a problem.

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Nancy,

In that case, let's hear what the D|W / PIM people have to say...

Imar

 
Steffen Kruse Hansen Dynamicweb Employee
Steffen Kruse Hansen
Reply

Hi Nancy,

I have just tested what you are describing, and you are right, that the Dynamicweb XML and Dynamicweb CSV template will throw an exception if the feed does not contain any products.
I have created a bug of this (DevOps#1753), which is planned for the next 9.10 hotfix.

Thank you for reporting this, and sorry for the inconvenience. If it's a blocker for your work, I can provide you with the updated templates here.

Best regards,

Steffen

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Nancy

The problem regading #1753 Standard Feed templates will throw exception if the feed is empty

Has now been resolved in hotfix version 9.10.8

You are able to get this from the download section: https://doc.dynamicweb.com/downloads/releases

Please contact support@dynamicweb.dk if you need any help regarding upgrading

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 
Nancy Morano Dynamicweb Employee
Nancy Morano
Reply

Thank you very much for this update.  We very much appreciate this being resolved.

We will apply the fix in the v 9.10.8 release.  We will reach out if we have any follow-up questions after upgrading.

Thanks again.

 

 

You must be logged in to post in the forum