Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • dimi309 245 posts 579 karma points
    Sep 22, 2011 @ 15:30
    dimi309
    1

    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

  • dimi309 245 posts 579 karma points
    Sep 22, 2011 @ 16:26
    dimi309
    0

    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

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Sep 22, 2011 @ 16:36
    Tom Fulton
    0

    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

  • dimi309 245 posts 579 karma points
    Sep 22, 2011 @ 17:08
    dimi309
    0

    Hi Tom!

    Thanks for your reply! I have now reported both issues in Codeplex.

    Best regards,

    Dimitri

  • dimi309 245 posts 579 karma points
    Sep 23, 2011 @ 07:05
    dimi309
    0

    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

     

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Sep 26, 2011 @ 14:49
    Martin Griffiths
    0

    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

  • dimi309 245 posts 579 karma points
    Sep 26, 2011 @ 15:01
    dimi309
    0

    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

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Sep 26, 2011 @ 15:13
    Martin Griffiths
    0

    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

     

  • dimi309 245 posts 579 karma points
    Sep 26, 2011 @ 15:28
    dimi309
    0

    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

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Sep 26, 2011 @ 15:30
    Martin Griffiths
    0

    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

  • dimi309 245 posts 579 karma points
    Sep 26, 2011 @ 16:22
    dimi309
    0

    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

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Sep 26, 2011 @ 16:26
    Niels Hartvig
    0

    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.

  • sun 403 posts 395 karma points
    Sep 26, 2011 @ 16:44
    sun
    0

    thanks

    other, I've post many small bugs on codeplex, please fix them.

  • dimi309 245 posts 579 karma points
    Sep 26, 2011 @ 16:45
    dimi309
    0

    Many thanks Niels!

     

     

  • sun 403 posts 395 karma points
    Sep 26, 2011 @ 16:49
    sun
    0

    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.

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Sep 26, 2011 @ 16:52
    Niels Hartvig
    0

    Sun,

    We don't fix bugs faster because you suggest that we fix them all over the interwebs.

    Cheers,
    Niels... 

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Sep 26, 2011 @ 16:57
    Martin Griffiths
    0

    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

  • dimi309 245 posts 579 karma points
    Sep 26, 2011 @ 17:08
    dimi309
    0

    You're welcome Martin! I'm glad you've resolved the issue!

    Regards,

    Dimitri

  • sun 403 posts 395 karma points
    Sep 27, 2011 @ 04:55
    sun
    0

    Love this CMS and its team. I just think some small mistakes should be corrected as faster as possible.

  • Achillies 1 post 21 karma points
    Sep 27, 2011 @ 07:57
    Achillies
    0

    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.

  • Mário Salgueiro 16 posts 36 karma points
    Oct 17, 2011 @ 19:27
    Mário Salgueiro
    0

    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 

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Oct 18, 2011 @ 10:41
    Martin Griffiths
    0

    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

  • Mário Salgueiro 16 posts 36 karma points
    Oct 18, 2011 @ 11:10
    Mário Salgueiro
    0

    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

  • Drew 165 posts 340 karma points
    Nov 02, 2011 @ 15:07
    Drew
    0

    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

  • Matt Barlow | jacker.io 164 posts 740 karma points c-trib
    Nov 03, 2011 @ 10:44
    Matt Barlow | jacker.io
    0

    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/

     

     

Please Sign in or register to post replies

Write your reply to:

Draft