Copied to clipboard

Flag this post as spam?

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


  • Anders Brohäll 295 posts 561 karma points c-trib
    Sep 28, 2010 @ 15:25
    Anders Brohäll
    0

    Related links with media, more then five items.

    Hi,

    When i use the Related Links with Media Datatype, i can save up to five links. No more.

    Trying to save a sixth, ASP.Net throws a error: String or binary data would be truncated. (Is the datafield to short?)

    I use the 1.0.0.1 version of the .dll.

    Thanks,

     

     

  • Anders Brohäll 295 posts 561 karma points c-trib
    Sep 28, 2010 @ 15:26
    Anders Brohäll
    0

    BTW. If there's a quickfix to resolve this problem, do tell.

    : )

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Sep 28, 2010 @ 15:46
    Lee Kelleher
    0

    Hi Anders,

    Just looked at the code, and found that it's storing the value as Nvarchar, as opposed to Ntext ... which means that the value does have an upper-limit!

    I have fixed this for the next version of uComponents... which is due out soon (in the next couple of weeks).

    In the meantime you have the following options:

    * Grab a copy of the v1.0 branch from CodePlex ... (download from here) ... fix the bug (it's line 33 of Shared.PrevalueEditors.NoOptionsPrevalueEditor). Compile it, then drop the uComponents.Core.dll into your /bin folder ... and it should just work?! (fingers-crossed)

    * Go into the database, run this query:

    SELECT * FROM cmsDataType WHERE controlId = 'c9525f23-7b7a-4dab-baeb-08f957bddd50'

    ... then change the "dbType" from "Nvarchar" to "Ntext".  But remember if you re-save the data-type (prevalue editor), that change will be reverted back to "Nvarchar".

     

    The only caveat with all this is that when you change the property data type from "Nvarchar" to "Ntext" - the existing data will remain in the Nvarchar column ... effectively hiding it from your document-types/content ... so you'll need to re-populate that content.  (Unless you manually go through the database copy-n-pasting between the columns ... or writing a SQL UPDATE query?)

    Good luck! (Apologies for the bug!)

    Cheers, Lee.

  • Anders Brohäll 295 posts 561 karma points c-trib
    Sep 28, 2010 @ 16:10
    Anders Brohäll
    0

    Excellent.

    It was as i expected. I appriciate the quickfix step-by-step, however im in the middle of a release and can't really afford the time-loss.

    Is there a set release date?

  • Anders Brohäll 295 posts 561 karma points c-trib
    Sep 28, 2010 @ 16:10
    Anders Brohäll
    0

    Excellent.

    It was as i expected. I appriciate the quickfix step-by-step, however im in the middle of a release and can't really afford the time-loss.

    Is there a set release date?

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Sep 28, 2010 @ 16:14
    Lee Kelleher
    1

    No fixed release date... we're still in active development of a few new data-types (and other very exciting features!). Currently aiming for a beta release in the next 2 weeks.

  • Anders Brohäll 295 posts 561 karma points c-trib
    Oct 14, 2010 @ 12:45
    Anders Brohäll
    0

    Hi,
    Any progress with the release?

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Oct 14, 2010 @ 15:24
    Lee Kelleher
    0

    I don't want to spoil a secret... but v2 beta soon, real soon! ;-)

  • Anders Brohäll 295 posts 561 karma points c-trib
    Dec 12, 2010 @ 18:51
    Anders Brohäll
    0

    How soon? : )

     

  • Rich Green 2246 posts 4008 karma points
    Dec 12, 2010 @ 19:34
    Rich Green
    0

    Beta has been out a while, full release is supposed to be on Monday (tomorrow)

  • Anders Brohäll 295 posts 561 karma points c-trib
    Dec 12, 2010 @ 19:35
    Anders Brohäll
    0

    Oh, i couldnt find the beta.
    Even better news about the real release.

    Thank you!

  • Rich Green 2246 posts 4008 karma points
    Dec 12, 2010 @ 19:43
    Rich Green
    0

    v2.0 Preview here in case you need it http://ucomponents.codeplex.com/releases/view/54016

    Rich

  • Anders Brohäll 295 posts 561 karma points c-trib
    Dec 12, 2010 @ 19:44
    Anders Brohäll
    0

    Yeah i saw that, but since the site been out for some while, im really more interested in a stable version. 
    Will wait till tomorrow.

    : )

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Dec 13, 2010 @ 19:23
    Lee Kelleher
    0

    ... and uComponents v2.0 has been released! :-D

    http://our.umbraco.org/projects/backoffice-extensions/ucomponents

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies