Copied to clipboard

Flag this post as spam?

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


  • suzyb 474 posts 932 karma points
    Jun 06, 2013 @ 20:06
    suzyb
    1

    Error when editing stylesheet v6.0

    I've installed v6.0.6 but am getting an error when I try to edit a style.  

    CS0103: The name 'UmbracoUser' does not exist in the current context

    Source Error:

     
    Line 11:         <tr>
    Line 12:           <th width="30%">
    Line 13:             <%=umbraco.ui.Text("name", UmbracoUser)%>:
    Line 14:           </th>
    Line 15:           <td class="propertyContent">

    Can anyone help fix this?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jun 06, 2013 @ 20:48
    Jan Skovgaard
    1

    Hi Suzyb

    Seems like a bug that should be reported in here http://issues.umbraco.org/issues/U4 - Please share the link to the bug report in here so others who come across this post can go and vote it up.

    Cheers,

    Jan

  • philw 99 posts 434 karma points
    Jun 27, 2013 @ 20:03
    philw
    1

    SAme issue here. Worked ok with earlier versions (6.05)

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Jun 29, 2013 @ 23:41
    Jan Skovgaard
    1

    Hi Guys

    Maybe this has been fixed with the release of 6.0.7 - could be worh trying to upgrade.

    /Jan

  • William Burnett 213 posts 262 karma points
    Jul 08, 2013 @ 16:28
    William Burnett
    1

    Same issue here... and again, another "vote" to abandond the "vote it up" system, as it is clearly useless...

     

    Not only that, but I had to find this post via google search, as the intenral search did not yield relevant results in several attempts.

  • rich hamilton 117 posts 136 karma points
    Jul 09, 2013 @ 18:24
    rich hamilton
    0

    Same problem

    The name 'UmbracoUser' does not exist in the current context


    Umbraco v6.0.6 (Assembly version: 1.0.4898.16909)

  • rich hamilton 117 posts 136 karma points
    Jul 09, 2013 @ 18:30
    rich hamilton
    0

    Whats the easiest way to upgrade from 6.06 to latest version?

  • Scott Robinson 54 posts 75 karma points
    Jul 22, 2013 @ 11:41
    Scott Robinson
    0

    Same issue for me on 6.0.6

    Is there any fix? I'd prefer not to upgrade at this time.

  • Proxicode 127 posts 323 karma points
    Jul 24, 2013 @ 23:20
    Proxicode
    1

    If you are still on 6.0.6 and cannot or don't care to upgrade...I was able to work around this by going to \Umbraco\Settings\Stylesheet\Property\EditStyleSheetProperty.aspx file directly in a text editor and changing any instance of this line..

    %=umbraco.ui.Text("preview", UmbracoUser)% 

    to this..

    %=umbraco.ui.Text("styles", base.getUser())%

    Hope this helps someone.

  • Mark Downie 8 posts 28 karma points
    Apr 01, 2014 @ 19:16
    Mark Downie
    0

    Thank you Roger - this was very helpfull.

  • kleptbit 42 posts 98 karma points
    Mar 20, 2015 @ 13:32
    kleptbit
    0

    Yes, thank you Roger, that worked a treat.

    Oh how I wish I could upgrade...

Please Sign in or register to post replies

Write your reply to:

Draft