Is republish required after moving a node? Options
thomwhaites
Posted: Monday, September 18, 2006 7:26:45 PM
Rank: Fanatic

Joined: 7/20/2006
Posts: 256
Location: Boston, Massachusetts
thomwhaites
Posted: Monday, September 18, 2006 7:30:06 PM
Rank: Fanatic

Joined: 7/20/2006
Posts: 256
Location: Boston, Massachusetts
--Sorry for the empty first post.

I've moved a node which contains about 1000 sub-nodes, and the published url is incorrect for each node after the move. I know that republishing the nodes will solve the problem and the node will show up again, however, publishing all children nodes from the root will time-out and fail.

Any alternative to individually republishing the nodes?

Thanks,
Tom
hoehler
Posted: Monday, September 18, 2006 10:55:31 PM

Rank: Addict

Joined: 7/19/2006
Posts: 597
Location: Bad Homburg, Germany
Did a small UserControl where you can insert the nodeID this node and all nodes will be published seperately. Download it here: http://www.diehoehlers.de/media/421/republishnodesbin.zip

This is a .Net 2.0 UserControl, so if you need a .Net 1.1 App generate your 1.1 usercontrol with the following code:

Code:
private umbraco.BusinessLogic.User _user;

        protected void btnRepublish_Click(object sender, EventArgs e)
        {
            int nodeID;
            _user = new umbraco.BusinessLogic.User(0);
            try {
                nodeID = int.Parse(this.txtNodeID.Text);
            }
            catch {
                this.lblMessage.Text = "The inserted Text is not a number";
                this.lblMessage.Visible = true;
                return;
            }

            umbraco.cms.businesslogic.web.Document startDoc = new umbraco.cms.businesslogic.web.Document(nodeID);
            this.republishDocument(startDoc);
            this.lblMessage.Text = "All documents published";
            this.lblMessage.Visible = true;
        }

        private void republishDocument(umbraco.cms.businesslogic.web.Document parent)
        {
            parent.Publish(_user);
            foreach (umbraco.cms.businesslogic.web.Document child in parent.Children)
            {
                this.republishDocument(child);
            }
        }


hth, Thomas

• 2007/2008 MVP • www.thoehler.com • Bad Homburg, Germany
thomwhaites
Posted: Tuesday, September 19, 2006 7:44:04 PM
Rank: Fanatic

Joined: 7/20/2006
Posts: 256
Location: Boston, Massachusetts
Thanks for suggesting the control. I tried it, but the links do not seem to get re-written.

Does everybody experience this issue when moving nodes, or is there a problem with my installation?
PeterD
Posted: Tuesday, September 19, 2006 8:24:07 PM

Rank: Fanatic

Joined: 7/20/2006
Posts: 488
Location: NL
I did notice some strange behaviour a while back, didn't look into it further since it was not really an issue.
I'm not sure exactly anymore, but moving up a node did work correct and moving down didn't (could be the other way around too though, like I said, I'm not sure). Perhaphs you could try it the other way around and see if that works correct.

Working on an events-calendar with recursion. Post requests on my blog!
hoehler
Posted: Wednesday, September 20, 2006 10:40:23 AM

Rank: Addict

Joined: 7/19/2006
Posts: 597
Location: Bad Homburg, Germany
Sorry

My post was for another thread

Thomas

• 2007/2008 MVP • www.thoehler.com • Bad Homburg, Germany
hoehler
Posted: Wednesday, September 20, 2006 10:47:46 AM

Rank: Addict

Joined: 7/19/2006
Posts: 597
Location: Bad Homburg, Germany
I am a littele bit confused...

my post was for this thread...

I had tested this ascx with my installation on my isp. It worked fine and had rewritten the urls.

Don't know why this does not work for you.

Sorry, Thomas

• 2007/2008 MVP • www.thoehler.com • Bad Homburg, Germany
thomwhaites
Posted: Tuesday, September 26, 2006 3:58:18 PM
Rank: Fanatic

Joined: 7/20/2006
Posts: 256
Location: Boston, Massachusetts
I'm back to the moving nodes problem, as I'm moving lots of nodes around.
It seems the main problem is that when a node is moved, the child nodes do not get updated. Do other people experience this behavior or is it a problem with my install?

I've moved lots of publication issues, each of which have many child articles. I would *love* to find a solution other than republishing the issues--that seems to time out for me, and I have quite a few issues that would need to be republished.
johnvb
Posted: Monday, December 18, 2006 2:47:20 PM
Rank: Enthusiast

Joined: 12/18/2006
Posts: 17
I get a problem where moving nodes causes the entire site to go offline, and requires republishing one top-level node at a time. Is anyone else getting this behaviour?

John
Gregorius
Posted: Wednesday, January 03, 2007 11:55:46 PM

Rank: Addict

Joined: 7/29/2006
Posts: 507
Location: Melbourne, Australia
Hey Tom,

I'm just interested in how you find working with 1000 child nodes under a node in umbraco? We're building a site that will have a very large number of event items, and because of this, and the way Umbraco renders its nodes, we're probably going to build a custom .Net control for that section of the site... but keen to hear of your experiences working with such large amounts of node items.

cheers
greg


Wishes he could work with Umbraco all the time.
thomwhaites
Posted: Friday, January 05, 2007 2:08:08 AM
Rank: Fanatic

Joined: 7/20/2006
Posts: 256
Location: Boston, Massachusetts
Hi Greg,

Things are going pretty well with the umbraco end of our project. We're also going to be using a third party member management system with umbraco, so that's added some complications. Something definitely conflicts between those two systems -- publishing takes forever, even for a single node. But, I've created a shadow version of the site without the MMS piece, and publishing in the umbraco only portion works fine. I'm hopeful v3's changes to the publishing routine will help some, I haven't had much luck finding the conflict.

The biggest problem I had was moving nodes. I had to republish about 2000 nodes when I moved the parent node. These nodes are for publications with 50 or so issues, so I was able to republish in chunks. It probably would have timed out if I tried to republish all 2k nodes in one go.

The other area where I ran into some problems was with the Lucene search engine. Its great in that the index is really fast for that much content. But, Lucene seems to have some kind of query limit and threw errors once my content reached about 2k nodes. I was able to up the limit in the web.config, but I'm not sure if that will have an impact under load.

We're suppose to go live next week, so we'll see how it goes.

Good luck with your project,
Tom
Gregorius
Posted: Friday, January 05, 2007 4:22:37 AM

Rank: Addict

Joined: 7/29/2006
Posts: 507
Location: Melbourne, Australia
Do you have any problems with the amount of time it takes to render the nodes under a tree? I guess you only have 50 at a time so it's not too bad. We could arrange ours alphabetically, or by date or somethign to reduce the number of nodes per tree...

how about your umbraco.xml file? how big is that, having so many nodes on your site? thats another of our concerns with having all our events data in umbraco.. i know v3 has the option to not use the umbraco.xml file but read directly from the DB instead... i wonder if you can specify certain nodes to not cache, and others not? hmmmm that would be great.

funny you should mention the membership issues you had.. what membership provider are you using? not sure how we'll do our membership system either... thats another one we gotta figure out.. and having 20,000 members to migrate is going to be interesting. :|

Wishes he could work with Umbraco all the time.
thomwhaites
Posted: Friday, January 05, 2007 2:24:37 PM
Rank: Fanatic

Joined: 7/20/2006
Posts: 256
Location: Boston, Massachusetts
Hi Greg,

Publishing is mainly where things get sluggish for us. The published site has no lag time. Now, restarting umbraco is another story. Our umbraco.xml is modestly huge (19MB), and restarting can take about 30 seconds (actually, I'm not sure that the .xml file size is related to the start up time, I just assume that it is).

We have Aptify as our MMS. We just switched to it in house (we're a non-profit w/ about 20000 members), which is mostly why we found umbraco. Our current site is LAMP, so switching platforms, an open source .net cms seemed like a good idea. I will say that I've been pretty psyched on it so far. Unfortunately, rollout of Aptify is way behind schedule, so I've only done some test integration of the two systems. I'm using Aptify controls within Umbraco, and it works pretty well, with the exception of the publishing problems I mentioned earlier. Hopefully I'll either track down the conflict or v3 publishing changes will eliminate those errors.

Tom
hartvig
Posted: Friday, January 05, 2007 3:24:25 PM

Rank: Addict

Joined: 3/17/2008
Posts: 953
Location: Nyborg, Denmark
Send me an email - I'd might be interested in helping you out or at least trying to find the error.

Jeeeez, did I really start this :-)
thomwhaites
Posted: Saturday, January 06, 2007 2:18:40 PM
Rank: Fanatic

Joined: 7/20/2006
Posts: 256
Location: Boston, Massachusetts
Niels,

Thanks for the offer to help. We have a deadline end of the week -- launching without the MMS piece to start. But I would love to try to debug the conflict in the next few weeks and I'd be grateful for any advice you could offer. I'll follow-up with an email then.

Thanks!

Tom
thomwhaites
Posted: Saturday, January 06, 2007 2:20:02 PM
Rank: Fanatic

Joined: 7/20/2006
Posts: 256
Location: Boston, Massachusetts
Also - found a bug in the forum. I just logged on to the forum for the first time from a new computer. I had to re-enter my username and password. The first post I made after doing that did not get saved. When I reposted a second time, all was well.
sonsofperez
Posted: Friday, May 11, 2007 8:45:22 PM
Rank: Newbie

Joined: 5/11/2007
Posts: 1
Hi Tom,

I work for a non-profit organization that is considering Aptify as it's CRM. I am looking for some input from somebody who has some first hand experience with the product. Are you willing to give me some feedback on your experience with the product and the company so far?

Thanks,

Wayne
jHodgkinson
Posted: Friday, May 11, 2007 8:55:59 PM
Rank: Fanatic

Joined: 3/15/2007
Posts: 378
Location: Cary, NC USA
Tom - by chance are you with Massachusetts Bar Association?
thomwhaites
Posted: Friday, May 11, 2007 9:48:45 PM
Rank: Fanatic

Joined: 7/20/2006
Posts: 256
Location: Boston, Massachusetts
John - I am with the Mass Bar Assoc., how'd you track me down?

Wayne - I'm pretty much just handling the web piece of our Aptify roll-out. Its been a pretty big project, we're probably closing in on a year migrating from the old MMS (iMis) to Aptify - my involvement has been pretty limited so far as we are just now starting the web pieces in earnest.

With respect to the web pieces (which they call eBusiness), we stepped right to version 4.0. The 4.0 platform is all .net, and its only been out for say 6 months or so. Unfortunately, the web portion is not very well documented yet - the available SDK for eBiz is from version 3.5. Aptify ships with a sample site, and they intend for you to be able to build the entire site navigation inside of Aptify. Honestly, I don't like their approach, and the set up is not very well suited as a CMS - which is why you see me asking so many questions on the Umbraco board :). But, the sample site is basically an implementation of some core server controls. My plan is to build several user controls from these server controls to handle some of the key MMS type stuff - join/renew, subscriptions, store items, calendar, etc., and embed the controls within Umbraco as macros.

So far this approach seems to offer the best of both systems, and I haven't run into any show stopper problems yet, but like I said, we are not too far along with the Aptify portion of our website.

In terms of the company, I'd say support is ok. They definitely rely a good deal on consultants in their business model. They also seem to give a higher priority to offering classes than providing documentation - for example you can take an EBiz 4.0 developer class, but they don't have a EBiz 4.0 SDK out. I've taken a few of their classes, and honestly I'd prefer good documentation. I am pretty critical of course in general though. I've not taken the Ebiz developer class, but I was signed up for their admin and regular developer class (version 3.5) last year - they were ok. If we'd been further along on our implementation at the time, I definitely would have gotten more out of the class.

By the way, our live site www.massbar.org is *not* using any Aptify pieces yet. Its a bit of a cobbled together Frankenstein at the moment.

Tom
jHodgkinson
Posted: Friday, May 11, 2007 9:53:00 PM
Rank: Fanatic

Joined: 3/15/2007
Posts: 378
Location: Cary, NC USA
Tom - You mentioned you worked for a non-profit with about 20k members... sounds almost like our membership... I had looked at other Bar Associations websites before and remembered seeing you had umbraco listed at the bottom of your site. I'm with the North Carolina Bar Association - small world eh ;)
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.