+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / News Module custom fields Appearing and Disappearing when using them in RSS Feed Imports into the News Module

News Module custom fields Appearing and Disappearing when using them in RSS Feed Imports into the News Module

7 posts, 0 answered
  1. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    11 Feb 2014
    Link to this post

    Environment

    Sitefinity v5.4.4000
    Firefox 26

    Steps:

     We create a custom field in the News Module called ThomsonLink (default for the rest of the settings)
    1. We then create a new  news feed where we set the Content to Include to a valid RSS Feed and leave all the rest as defaults
    2. Under publish as we click Add More 
    3. Choose Sitefinity Content
    4. Choose News Items as the Import data as option
    5. Click Mapping Settings
    6. At this point the custom News field is there. which you can map as necessary
    7. Click save all the way till you're back at the list of feeds then run the feed. 
    Everything up till this point works fine. 

    Problem

    At some point when you go back to the news feed and click on Mapping Settings, the custom field has disappeared. 

    Running the following script: 
    SELECT * FROM sf_meta_fields WHERE [column_name] LIKE '%ThomsonsLink%';
    the record we expect to see. AND the sf_news_items table shows the additional column. Along with "orphaned" testing columns we had previously created (since they don't exist in the sf_meta_fields table anymore)

    Hack Workaround

    One way to get the field to show up again in the Mapping Settings is to go back to the News Module and add another custom field (any rubbish). Once done and you go back to the Mapping Settings, the new rubbish field as well as the missing field shows up. 






  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    12 Feb 2014
    Link to this post
    Hello Jacques,

    Thank you for sharing this workaround with the community.

    In Sitefinity 6.3 this issue cannot be reproduce as there are lot of improvements made regarding custom fields, so we strongly recommend you to consider an upgrade at some point.

    Best regards,
    Vassil Vassilev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
  3. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    13 Feb 2014 in reply to Vassil Vassilev
    Link to this post
    Hi Vassil, 

    Upgrading every few months is not an option for most companies. Would have been nice to see Telerik focus on some fixes instead of new releases all the time. 

    Regards,
    Jacques
  4. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    14 Mar 2014
    Link to this post

    Vassil,

    We've upgraded the site to 6.3.
    I went to the news content items and both our custom fields are there.
    I went to the RSS feed that we'd setup and low and behold there's no custom fields!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    So what's your next suggestion? Wait for version 7 I'm sure it will be fixed there!

  5. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    14 Mar 2014
    Link to this post

    I've just deleted the feed and the custom fields, recreated the fields then recreated the feed. When I click Actions > Run I get the message attached

    "For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method."

    What?

    Looking at the console:
    PUT http://xpo.nedoweb.com/Sitefinity/Services/Publishing/PublishingService.svc/runpipes/edebff4b-1438-66d9-8905-ff0000fa1588/ 500 (For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.) ScriptResource.axd?d=soT65IVsRF6JSefna9Rl2ZUxf-RAntuOTQKvQanbX8z6c_Efii1lSr3BptVHxIFUmjL2xvaf7QR1XX…:1Sys.Net.XMLHttpExecutor.executeRequestScriptResource.axd?d=soT65IVsRF6JSefna9Rl2ZUxf-RAntuOTQKvQanbX8z6c_Efii1lSr3BptVHxIFUmjL2xvaf7QR1XX…:1Sys.Net._WebRequestManager.executeRequestScriptResource.axd?d=soT65IVsRF6JSefna9Rl2ZUxf-RAntuOTQKvQanbX8z6c_Efii1lSr3BptVHxIFUmjL2xvaf7QR1XX…:1Sys.Net.WebRequest.invokeScriptResource.axd?d=soT65IVsRF6JSefna9Rl2ZUxf-RAntuOTQKvQanbX8z6c_Efii1lSr3BptVHxIFUmjL2xvaf7QR1XX…:1Telerik.Sitefinity.Data.RequestQueue.executeTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl06_TSM&compress=0&_TSM_CombinedScripts_=%3b%3bT…:7761Telerik.Sitefinity.Data.RequestQueue.addAndExecuteTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl06_TSM&compress=0&_TSM_CombinedScripts_=%3b%3bT…:7765Telerik.Sitefinity.Data.ClientManager.InvokePutTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl06_TSM&compress=0&_TSM_CombinedScripts_=%3b%3bT…:7510handleBinderItemCommandTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl06_TSM&compress=0&_TSM_CombinedScripts_=%3b%3bT…:5009(anonymous function)ScriptResource.axd?d=soT65IVsRF6JSefna9Rl2ZUxf-RAntuOTQKvQanbX8z6c_Efii1lSr3BptVHxIFUmjL2xvaf7QR1XX…:1Telerik.Sitefinity.Web.UI.ClientBinder._itemCommandHandlerTelerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl06_TSM&compress=0&_TSM_CombinedScripts_=%3b%3bT…:20730(anonymous function)Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl06_TSM&compress=0&_TSM_CombinedScripts_=%3b%3bT…:21034v.event.dispatchScriptResource.axd?d=OqpfTXW4x1V2q-8jqor-WXAKsZVPXWy8aHGm1ssoupa3lF8JGDKEo-JpZIZc6qmhwwEIc8GyMD_7IR…:2o.handle.uScriptResource.axd?d=OqpfTXW4x1V2q-8jqor-WXAKsZVPXWy8aHGm1ssoupa3lF8JGDKEo-JpZIZc6qmhwwEIc8GyMD_7IR…:2

     

    Nice work Vassil... Yes upgrade we can't replicate the problem in 6.3

  6. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    14 Mar 2014
    Link to this post

    Another issue after the upgrade (this is when I try to delete news items):

    0 item(s) are successfully deleted. 10 item(s) cannot be deleted (see below).Content Block XPO Logistics to Acquire Pacer International, the Third Largest Provider of Intermodal Transportation Services in North America: Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.Content Block XPO Logistics Releases Preliminary Results for Fourth Quarter 2013: Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.Content Block XPO Logistics Announces Common Stock Offering: Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.Content Block XPO Logistics Announces Pricing of $375 Million Public Offering of Common Stock: Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.Content Block XPO Logistics Schedules Fourth Quarter 2013 Conference Call for Tuesday, February 25, 2014: Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.Content Block XPO Logistics Announces Closing of $375 Million Public Offering of Common Stock : Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.Content Block XPO Logistics Announces Exercise of Underwriters' Option for 2,250,000 Shares of Common Stock: Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.Content Block XPO Logistics Announces Fourth Quarter and Full Year 2013 Results: Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.Content Block XPO Logistics Agrees to Acquire NLM, the Largest Web-based Expediter in North America: Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.Content Block XPO Logistics Completes Acquisition of NLM: Failed to create a 'Settings' from the text 'Assembly references and imported namespaces serialized as XML namespaces'.

  7. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    18 Mar 2014
    Link to this post
    Hello,

    Can you check your upgrade log file? Can you find information about failed upgrade scripts? If yes, I would strongly recommend you to try the upgrade sequence again as described in our documentation:
    http://www.sitefinity.com/documentation/documentationarticles/installation-and-administration-guide/upgrade

    Please, make sure you strictly follow it, because omitting some of the steps may cause unexpected behavior of your project and always after upgrading to some Sitefinity version, check the upgrade log to be sure all upgrade scripts has passed.

    I hope this information helps.

    Regards,
    Vassil Vassilev
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
7 posts, 0 answered