Previewin unpublished nodes in 4.7.1 as opposed to 4.7.0
Hello everyone,
In Umbraco 4.7.0 I had already noticed that I could not preview unpublished nodes, unless they were direct children of published nodes.
I have just made a test upgrade to version 4.7.1 and now I cannot preview unpublished nodes period; even if they are direct children of published nodes. Would someone happen to know if this is indeed the way Umbraco is intended to work now and if there is a workaround?
I know that I can use Courier and we are considering it, but my users have been used to directly previewing new pages as they create them so it would be hard for me to "sell" this upgrade without this feature.
Appart from the issue I have mentioned above, it seems that I can no longer preview content on a page which is accessed through razor scripts. This used to work in 4.7.0.
I really like 4.7.1 in general and it seems to be quite solid. But these two changes are quite worrying...
I just did a quick test and an seeing the same issue in 4.7.1
- Create new page - Enter content - Save (not Publish) - Click Preview - Returns Page Not found error: No umbraco document matches the url 'http://471beta.local/1076.aspx'
This works in 4.7.0.
Can you perhaps report this on Codeplex and post a link to the workitem here so everyone can vote it up? Does seem like a major change/issue.
I did not test the Razor piece for you as I don't really use it (yet).
I have been able to correct both these issues on my local system by changing just one line in the Umbraco source code. I have submitted the fix in Codeplex. I don't know if it will get approved, but in case you are interested, here it is:
I have to say considering how long it has taken to get to 4.7.1 i'm just a tad stunned this tiny bug wasnt picked up before the release!
It seems to have taken an age for a usable preview to finally reach us, only for it to hit yet another snag! Unit testing is clearly still a weak point.
I've downloaded the 1 line fix and recompiled the umbraco dll and all is good at long last....oh and the preview is now very quick too. But, really should I have to go to such efforts to get 'standard' functionality working?
In my personal opinion, this being an open source project, it is normal that such glitches exist from time to time. I'm quite happy with Umbraco and, given the level of productivity and flexibility it accommodates for, I think it is quite stable. Maybe a weak point is also due to us, it's user base. Personally I have to admit, I often don't test beta versions extensively and just discover all my issues a few days before upgrading to the next stable release :)
Dont get me wrong I think Umbraco is equally awesome, I'm just a little annoyed that it wasnt picked up before the release especially when so much effort had gone into finally getting preview usable again (or not as in this case).
I dont have a problem downloading the source for individual fixes (especially one as crucial as this). Open source gives us developers the advantage of having full view of the code and fixes. I can then make a considered decision as to whether it's safe to roll out to our production box, although in 9 out of 10 cases I will stick with official releases only.
Open source has many benefits, but the down side is most definitely 'glitches' and gotchas!
Yes, I suppose, in open source, it comes with the territory. We get the right to access all of the source code but then, sometimes, we actually have to use that right :)
I have just tested this and I don't receive any error on my system. So it's possible that indeed it has been fixed (unless I am very lucky :)).
Maybe it would be a good idea if you started a new topic about this though, because perhaps it won't attract enough attention here, due to the subject.
Agreed, we should have picked this one up - that's my fault! We've committed the fix by Dimitri and we're releasing a 4.7.1.1 this week (also including the great Razor fixes by Gareth Evans).
With v5 we have much greater test coverage, unfortunately the architecture of v4 makes it quite hard to expand the unit tests to more than the ~100 tests reassuring the pure core apis.
User can create more than one items in Member Groups with the same name(4.7.1). Other place has the same question includes: Items in Member Types. Items in Data Types. Items in Media section. Items in Stylesheets Items in Dictionary. Items in Media Types. Items in Macros.
Niels - Thanks for recognising this error and for putting forward another release so soon, I have to say the preview function is now spot on!
Dimitri, thanks for looking into my search problem, I realised that I needed to modify my lucene configs (ours is an upgrade from 4.0.x)....took quite a bit of poking around but the searches in content and member sections now work as expected.
Sun, this wasnt meant to be a fix, fix, fix thread and i'm sure the team will take a look at your suggestions in due course.
Dimitri, thanks for looking into my search problem, I realised that I needed to modify my lucene configs (ours is an upgrade from 4.0.x)....took quite a bit of poking around but the searches in content and member sections now work as expected.
Until Niels releases 4.7.2 you have no choice but to go for the most recent nightly. Download it and build in VS2010, you only need to copy in a couple of files.
Previewin unpublished nodes in 4.7.1 as opposed to 4.7.0
Hello everyone,
In Umbraco 4.7.0 I had already noticed that I could not preview unpublished nodes, unless they were direct children of published nodes.
I have just made a test upgrade to version 4.7.1 and now I cannot preview unpublished nodes period; even if they are direct children of published nodes. Would someone happen to know if this is indeed the way Umbraco is intended to work now and if there is a workaround?
I know that I can use Courier and we are considering it, but my users have been used to directly previewing new pages as they create them so it would be hard for me to "sell" this upgrade without this feature.
Thanks!
Dimitri
Hello again...
Appart from the issue I have mentioned above, it seems that I can no longer preview content on a page which is accessed through razor scripts. This used to work in 4.7.0.
I really like 4.7.1 in general and it seems to be quite solid. But these two changes are quite worrying...
I hope that there is a solution.
Best regards,
Dimitri
Hi Dimitri,
I just did a quick test and an seeing the same issue in 4.7.1
- Create new page
- Enter content
- Save (not Publish)
- Click Preview
- Returns Page Not found error: No umbraco document matches the url 'http://471beta.local/1076.aspx'
This works in 4.7.0.
Can you perhaps report this on Codeplex and post a link to the workitem here so everyone can vote it up? Does seem like a major change/issue.
I did not test the Razor piece for you as I don't really use it (yet).
-Tom
Hi Tom!
Thanks for your reply! I have now reported both issues in Codeplex.
Best regards,
Dimitri
Hello again Tom,
I have been able to correct both these issues on my local system by changing just one line in the Umbraco source code. I have submitted the fix in Codeplex. I don't know if it will get approved, but in case you are interested, here it is:
http://umbraco.codeplex.com/SourceControl/network/Forks/dimitri_kourk/FixForPreview/changeset/changes/184a393e5a31
Best regards,
Dimitri
I have to say considering how long it has taken to get to 4.7.1 i'm just a tad stunned this tiny bug wasnt picked up before the release!
It seems to have taken an age for a usable preview to finally reach us, only for it to hit yet another snag! Unit testing is clearly still a weak point.
I've downloaded the 1 line fix and recompiled the umbraco dll and all is good at long last....oh and the preview is now very quick too. But, really should I have to go to such efforts to get 'standard' functionality working?
Martin
Hi Martin,
In my personal opinion, this being an open source project, it is normal that such glitches exist from time to time. I'm quite happy with Umbraco and, given the level of productivity and flexibility it accommodates for, I think it is quite stable. Maybe a weak point is also due to us, it's user base. Personally I have to admit, I often don't test beta versions extensively and just discover all my issues a few days before upgrading to the next stable release :)
Best regards,
Dimitri
Hi Dimitri
Dont get me wrong I think Umbraco is equally awesome, I'm just a little annoyed that it wasnt picked up before the release especially when so much effort had gone into finally getting preview usable again (or not as in this case).
I dont have a problem downloading the source for individual fixes (especially one as crucial as this). Open source gives us developers the advantage of having full view of the code and fixes. I can then make a considered decision as to whether it's safe to roll out to our production box, although in 9 out of 10 cases I will stick with official releases only.
Open source has many benefits, but the down side is most definitely 'glitches' and gotchas!
Regards
Martin
Hi Martin,
Yes, I suppose, in open source, it comes with the territory. We get the right to access all of the source code but then, sometimes, we actually have to use that right :)
Best regards,
Dimitri
Hi Dimitri
I've just noticed the search box in back office is still giving an object reference error.
I was under the impression this was also fixed in 4.7.1???
Any ideas?
Kind regards
Martin
Hi Martin,
I have just tested this and I don't receive any error on my system. So it's possible that indeed it has been fixed (unless I am very lucky :)).
Maybe it would be a good idea if you started a new topic about this though, because perhaps it won't attract enough attention here, due to the subject.
Best regards,
Dimitri
Agreed, we should have picked this one up - that's my fault! We've committed the fix by Dimitri and we're releasing a 4.7.1.1 this week (also including the great Razor fixes by Gareth Evans).
With v5 we have much greater test coverage, unfortunately the architecture of v4 makes it quite hard to expand the unit tests to more than the ~100 tests reassuring the pure core apis.
thanks
other, I've post many small bugs on codeplex, please fix them.
Many thanks Niels!
User can create more than one items in Member Groups with the same name(4.7.1).
Other place has the same question includes:
Items in Member Types.
Items in Data Types.
Items in Media section.
Items in Stylesheets
Items in Dictionary.
Items in Media Types.
Items in Macros.
obviously, they are bugs.
Sun,
We don't fix bugs faster because you suggest that we fix them all over the interwebs.
Cheers,
Niels...
Niels - Thanks for recognising this error and for putting forward another release so soon, I have to say the preview function is now spot on!
Dimitri, thanks for looking into my search problem, I realised that I needed to modify my lucene configs (ours is an upgrade from 4.0.x)....took quite a bit of poking around but the searches in content and member sections now work as expected.
Sun, this wasnt meant to be a fix, fix, fix thread and i'm sure the team will take a look at your suggestions in due course.
Regards all
Martin
You're welcome Martin! I'm glad you've resolved the issue!
Regards,
Dimitri
Love this CMS and its team. I just think some small mistakes should be corrected as faster as possible.
Dimitri, thanks for looking into my search problem, I realised that I needed to modify my lucene configs (ours is an upgrade from 4.0.x)....took quite a bit of poking around but the searches in content and member sections now work as expected.
Hi Niels,
What I need to upgrade, to get preview working in my dev enviroment, i'm using 4.7.1? i dont want to upgrade all to a nightly version...
Thx in advance,
Mário
Hi Mario
Until Niels releases 4.7.2 you have no choice but to go for the most recent nightly. Download it and build in VS2010, you only need to copy in a couple of files.
Regards
Martin
Hi Martin,
I did that and already works the preview, now i'm hoping for 4.7.2 :) i don't want to put a nightly version to live ;)
Now i hope they can fix the audit trail permissions in context menu of the content tree... ;)
Thanks,
Mário
Just noticed this issue too (or rather a client did!).
Another option is to download the 4.7.1 source and apply the preview fix yourself. :)
This way you don't need to worry about any possible conflicts with new changes for 4.7.2, etc.
Cheers,
Drew
Had this issue as well, and again it wasn't me that noticed, it was when I demo'd to the client... and here you can save and preview..
Oh, it's not working..
Be good to make the community more aware of this issue.
Thanks,
Matt
Went to the link below, download the latest build and copied over the dlls and now it's working fine. Anything else need to be aware of doing this?
http://nightly.umbraco.org/umbraco%204.7.1/4.7.1/
is working on a reply...