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

Forums / General Discussions / Can't move page with drag 'n drop

Can't move page with drag 'n drop

8 posts, 1 answered
  1. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    06 Feb 2012
    Link to this post
    Hi all,

    I've problems when dragging an existing page to another node. It says that the URL is already existing, but it is not. At least not in the interface. Probably somewhere in the database. How can I solve this issue?

    Regards,
    Daniel
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    16 Aug 2017
    06 Feb 2012
    Link to this post
    Hi Daniel,

    That's a strange issue, can you please try runnig the below code in debug mode, maybe on an ASP.NET webform in your project, and let us know of the returned results?
    var myPages =  App.WorkWith().Pages().Where(p => p.UrlName == "myPageUrlName").Get();
    It should return all pages matching that particular UrlName. Looking forwards to your response.

    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
  3. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    07 Feb 2012
    Link to this post
    Hi Boyan,

    I executed the code and the result returns 1 page.
    So, I suppose you expected a result > 1, right?

    Regards,
    Daniel
  4. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    16 Aug 2017
    10 Feb 2012
    Link to this post
    Hello Daniel,

    Yes, you're right I was expecting a result greater than one. However, there's a case we've been missing  - is this an upgraded project by any chance? We used to have an issue with multiple URLs for a page not being deleted from the url data table in the database in pre-4.4 versions of Sitefinity, which might result eventually in similar behavior. The problem has been fixed for 4.4 but if there were/are additional URLs this might cause the mentioned problems. Can you please check the sf_url_data for entries matching the one you're trying to insert?

    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
  5. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    14 Feb 2012
    Link to this post
    Hi Boyan,

    Well there is just one record in the sf_url_data table for this page:

    ~/faq   1   NULL    2011-10-13 15:21:27.933 0   CFC8D1D2-E3E4-456C-9568-F7C87F4842DB    0   9   EndExclusion/   1   811102197   NULL    A25DCA14-E8B2-4141-9C6A-84FC31BB035B

    So, the page exists already, just want to drag it to another node.
    It is an upgraded project (4.2, 4.3, 4.4)

    Daniel
  6. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    16 Aug 2017
    17 Feb 2012
    Link to this post
    Hello Daniel,

    That's really strange, the internal check we're performing is checking in that particular table. Up to my knowledge you're the first one to complain about such behavior in 4.4, I guess if recreating the page is not an option maybe we should arrange you sending the project over so we can debug the possible causes of this issue. Looking forwards to your reply.

    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
  7. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    16 Aug 2017
    17 Feb 2012
    Link to this post
    Hi,

    Just a quick follow-up, can you try duplicating the page, deleting the old one and then renaming the new(duplicate) page so it will have the old UrlName and then try moving it in the Hierarchy.

    All the best,
    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
    Answered
  8. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    Registered:
    18 Feb 2004
    17 Feb 2012
    Link to this post
    Hi Boyan,
    Well that actually worked. I was able to move the page to another Group page, so that seems to be working now.

    Thanks,
    Daniel
8 posts, 1 answered