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

Forums / Bugs & Issues / Multiple choice Custom Field on Blog Post Crashes The Blogs

Multiple choice Custom Field on Blog Post Crashes The Blogs

4 posts, 0 answered
  1. John
    John avatar
    17 posts
    Registered:
    03 Mar 2008
    23 May 2011
    Link to this post
    Hi,

    I just created a custom field on Blog Post, it is a multiple choice (radio buttons) i called it Service Lines which contains 4 options. I chosed Integer and INT datatype. It was successfull. But then when i clicked on Content => Blogs  .. all the sudden sitefinity was crashed giving me error message  ......fail ...unable to cast string type to int ....something like like that.  Is there anyway i could removed that custom field i had created already on Blog Post form by code or from Administrator sections ? Please help.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    23 May 2011
    Link to this post
    Hello John,

    I sent you a sample code that shows how to remove the field in this forum post. Please provide detailed steps about this issue, so out QAs can verify if there is a bug with ChoiceField control.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. John
    John avatar
    17 posts
    Registered:
    03 Mar 2008
    24 May 2011
    Link to this post
    Step 1. Click on Content => Blog
    step 2. Click the checkbox on the blog item. in my case i had created Publication blog
    step 3. Click Create Post
    step 4. See the right side window, click on Create Custom Field
    Step 5.  Type template name Testing
    Step 6. On DB Type select INTEGER
    Step 7. On DB SQL select INT
    Step 8 . Select Multichoice
    Step 9. click ok ok ok (just by default let choice those 3 choices).
    Now you go to Content => blog...

    It would show you error.... fail to convert string to int etc etc....

    It seems that multichoice is only accepting text or varchar as values but not integer..


  4. Petya
    Petya avatar
    123 posts
    Registered:
    30 May 2017
    27 May 2011
    Link to this post
    Hello John,

    Thank you for the detailed description of the problem. I'm logging it as a bug, which you can follow here: http://www.telerik.com/support/pits.aspx#/public/sitefinity/6241 and I updated your Telerik points. 

    All the best,
    Petya
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered