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

Forums / General Discussions / v4.4 upgrade to 5.1 FlatTaxon.svc missing

v4.4 upgrade to 5.1 FlatTaxon.svc missing

9 posts, 0 answered
  1. Miles
    Miles avatar
    32 posts
    Registered:
    23 Nov 2011
    11 Feb 2013
    Link to this post

    I recently upgraded from version 4.4 to 5.1 and now when I'm editing a module item to add/edit the categories and tags aren't loading (I'm actually receiving a blank alert box). I traced it to the two attached images. 

    I'm not sure why this service is no longer there when all of the others are

  2. Patrick Dunn
    Patrick Dunn avatar
    237 posts
    Registered:
    03 Nov 2014
    14 Feb 2013
    Link to this post
    Hi Miles,

     Thanks for using Sitefinity!

    I'm sorry to hear you're having trouble with your upgrade project. If you navigate through your project folders ~/Sitefinity/Services/Taxonomies/FlatTaxon.svc do you see the physical file in your project? Can you try replacing it with one out of a fresh installation of 5.1. Is this the only thing awry with your upgrade?

    Let me know of any further developments in your problem. I'd be happy to help.

    Kind regards,
    Patrick Dunn
    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. Miles
    Miles avatar
    32 posts
    Registered:
    23 Nov 2011
    14 Feb 2013 in reply to Patrick Dunn
    Link to this post

    Hey Patrick,

    I replaced the FlatTaxon.svc with the file you were talking about (attached) but it's just a place holder file. I think the issue has to do with the internal code but I'm not sure where to start to try to get that corrected

  4. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    06 Dec 2016
    19 Feb 2013
    Link to this post
    Hello Miles,

    As you can see from the service hosting, the actual logic is implemented in the precompiled assemblies that are distributed with each Sitefinity project, so the service class should always be there, as long as you have the Telerik.Sitefinity.dll present and referenced in your project.

    All the best,
    Boyan Barnev
    the Telerik team
  5. Miles
    Miles avatar
    32 posts
    Registered:
    23 Nov 2011
    27 Feb 2013 in reply to Boyan Barnev
    Link to this post

    Hi Boyan,

    I've created a fresh v5.1 installation of Sitefinity on my local machine and then copied the Telerik.Sitefinity.dll in the BIN directory into my website's BIN directory and the issue was part-way corrected (or I just didn't check this before). 

    Currently, if I do anything with a tag, the information is loaded and saved correctly. But if I do anything with the categories, I receive the error mentioned above. I am able to go into the back-end to look at the Category/Hierarchical information with no issue. 

    Attached is the information for my DLL and below is the full URL that the system is trying to pull from for the service. I did notice that there's a new "universal timestamp parameter" being sent to the service that wasn't there before (I think?). 

    Also, I searched the database for the ID that the service is filtering on and was not able to find that GUID (20091ae69f-f68d-4a70-9543-299106dbb67d) in the entire database. When I went to the sf_taxonomies table, the ID for the Categories record was E5CD6D69-1543-427B-AD62-688A99F5E7D4. Should that GUID be used instead and if so, how do I change that current setting?

    http://dev.hamiltonfht.ca/Sitefinity/Services/Taxonomies/FlatTaxon.svc/?skip=0&take=0&sortExpressions=Title%20ASC&mode=Simple&filter=Id%20==%20091ae69f-f68d-4a70-9543-299106dbb67d&unv_tstmp_prm=1362004012148

  6. Miles
    Miles avatar
    32 posts
    Registered:
    23 Nov 2011
    01 Mar 2013
    Link to this post

    Also, I looked to see what the tag control was doing with the service and noticed that it was just passing along the GUID of the taxonomy to get the information back. So I did that with the tag GUID and it returned all of the tags. I did this with the category GUID and it returned the following:

    {"Context":null,"IsGeneric":false,"Items":[],"TotalCount":0}

    ~/Sitefinity/Services/Taxonomies/FlatTaxon.svc/E5CD6D69-1543-427B-AD62-688A99F5E7D4

  7. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    06 Dec 2016
    04 Mar 2013
    Link to this post
    Hello Miles,

    Thnak you for the additional clarification.

    Please note that Sitefinity distinguished between Flat(Tags) and Hierarchical(categories) taxonomies on API level, thus the services for operating with this type of data are different - the Hierarchicataxonomy service is located in /Sitefinity/Services/Taxonomies/HierarchicalTaxon.svc

    Regards,
    Boyan Barnev
    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
  8. Miles
    Miles avatar
    32 posts
    Registered:
    23 Nov 2011
    04 Mar 2013 in reply to Boyan Barnev
    Link to this post

    So is this why all of the built in modules aren't working in version 5.1? Because when I try to add a category to an item (news, blog, list, anything built in), it tries to hit the FlatTaxon.svc.

    This is a pretty major bug for version 5.1 since it effects multiple modules.

  9. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    06 Dec 2016
    07 Mar 2013
    Link to this post
    Hi Miles,

    That behavior is very strange, actually it's the first time we're receiving similar report for a Sitefinity version.

    Can you please verify if you have not implemented some UrlRewriting, or mapped an external template that contains a ContentSelector which explicitly points to the FlatTaxon.svc? Please ntoe that ourt of the box the HierarchicaltaxonSelector (the control used for listing and handling the selection of Category items) points to the HierarchicaltaxonService as follows:
    <%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %>
    <%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sitefinity" %>
     
    <sitefinity:ResourceLinks id="resourcesLinks" runat="server">
        <sitefinity:ResourceFile Name="Styles/Treeview.css" />
        <sitefinity:ResourceFile Name="Styles/Window.css" />
    </sitefinity:ResourceLinks>
     
    <div class="sfChooseList">
        <asp:Label id="selectorTitle" runat="server"></asp:Label>
         
        <ul id="rootSelector" runat="server" class="sfRadioList">
            <li>
                <asp:RadioButton ID="rootRadio" runat="server" Checked="true" GroupName="rootSelector" />
                <asp:Label ID="rootRadioLabel" runat="server" AssociatedControlID="rootRadio"></asp:Label>
            </li>
            <li>
                <asp:RadioButton ID="taxaRadio" runat="server" GroupName="rootSelector" />
                <asp:Label ID="taxaRadioLabel" runat="server" AssociatedControlID="taxaRadio"></asp:Label>
            </li>
        </ul>
         
        <div id="treePanel" runat="server">
            <telerik:RadTreeView id="taxaTree" runat="server"
                ShowLineImages="false"
                CheckBoxes="true"
                Skin="Sitefinity"
                ExpandAnimation-Type="None"
                CollapseAnimation-Type="None" />
            <sitefinity:RadTreeBinder
                id="taxaTreeBinder"
                runat="server"
                ServiceUrl="~/Sitefinity/Services/Taxonomies/HierarchicalTaxon.svc/{0}/"
                ServiceChildItemsBaseUrl="~/Sitefinity/Services/Taxonomies/HierarchicalTaxon.svc/subtaxa/"
                ServicePredecessorBaseUrl="~/Sitefinity/Services/Taxonomies/HierarchicalTaxon.svc/predecessor/"
                TargetId="taxaTree"
                ParentDataKeyName="ParentTaxonId"
                DataKeyNames="Id"
                DataMembers="Title"
                BindOnLoad="false">
                <Containers>
                    <sitefinity:BinderContainer runat="server" RenderContainer="false">
                       <span>{{ Title }}</span>
                       <span class="sf_binderLocalization_showIfLanguageUnavailable">({$LocalizationResources, NotTranslated$})</span>
                    </sitefinity:BinderContainer>
                </Containers>
            </sitefinity:RadTreeBinder>
        </div>
        <asp:LinkButton ID="createTaxonButton" runat="server" OnClientClick="return false;" CssClass="sfCreateTaxonBtn"></asp:LinkButton>
        <asp:LinkButton ID="doneButton" runat="server" OnClientClick="return false;" CssClass="sfLinkBtn sfChange">
            <strong class="sfLinkBtnIn"><asp:Literal runat="server" ID="Literal1" Text="<%$Resources:Labels, Done %>" /></strong>
        </asp:LinkButton>
    </div>
     
    <telerik:RadWindow id="newTaxonDialog" runat="server"
            Skin="Sitefinity"
            Behaviors="Close"
            AutoSizeBehaviors="Width,Height"
            VisibleTitlebar="true"
            VisibleStatusbar="false"
            Modal="true"
            Width="395"
            ShowContentDuringLoad="false"
            Height="250">
    </telerik:RadWindow>
     
    <script type="text/javascript">
        var updateClientState = Telerik.Web.UI.RadWebControl.prototype.updateClientState;
        Telerik.Web.UI.RadTreeView.prototype.updateClientState = function () {
            updateClientState.apply(this, arguments);
            var clientStateField = $get(this.get_clientStateFieldID());
            clientStateField.value = clientStateField.value.replace(/</ig, "<");
        }
    </script>



    Greetings,
    Boyan Barnev
    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
9 posts, 0 answered