Copied to clipboard

Flag this post as spam?

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


  • David Weil 4 posts 74 karma points
    May 23, 2018 @ 19:31
    David Weil
    0

    Approved color with value 002960 gets truncated to 2960

    Approved color with value 002960 gets truncated to 2960 after upgrading to 7.10.4. This happens to all colors starting with 00 followed by numeric value. However, 000AF0 will work just fine. Any ideas?

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    May 24, 2018 @ 12:18
    Dave Woestenborghs
    0

    Hi David,

    If you say Approved Color ? Do you mean the core color picker ?

    Dave

  • David Weil 4 posts 74 karma points
    May 24, 2018 @ 13:37
    David Weil
    0

    Using the build-in "Approved Color" data type with a set of defined colors. Also, EnablePropertyValueConverters is false as this is an older project.

  • David Weil 4 posts 74 karma points
    May 24, 2018 @ 14:01
    David Weil
    0

    This is def a bug. Workaround:

    content.GetProperty("bgColor").DataValue.ToString()
    

    this seems to work but we now have to update many templates :(

  • Damiaan 442 posts 1302 karma points MVP 6x c-trib
    May 24, 2018 @ 14:15
    Damiaan
    0

    I would look at the issue tracker (http://issues.umbraco.org) if someone reported it. If not, please do so!

  • David Weil 4 posts 74 karma points
    May 24, 2018 @ 15:00
    David Weil
    0

    i did :)

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    May 25, 2018 @ 07:15
    Dave Woestenborghs
    0

    Hi David,

    I commented on the issue. It works for me with Property value converters enabled. I also commented that on the issue tracker.

    Can you try if it works in your case with property value converters enabled ?

    Dave

Please Sign in or register to post replies

Write your reply to:

Draft