Timeline for Length cannot be less than zero. When using sitecore link in richtext edtior
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 10, 2020 at 5:59 | vote | accept | Mathias Hove | ||
Mar 1, 2017 at 14:23 | comment | added | Jason St-Cyr | @Velict: I've received an official support answer from Sitecore. I've updated my answer with the link to the patch. | |
Feb 9, 2017 at 19:23 | comment | added | Jason St-Cyr | @Velict: I've updated my answer with some more specifics as to what causes the issue. Still waiting on an answer from support, but if you are working with Support as well, try providing them the sample HTML I have below that triggers the scenario. | |
Feb 7, 2017 at 19:46 | answer | added | Jason St-Cyr | timeline score: 5 | |
Feb 7, 2017 at 4:38 | comment | added | Jason St-Cyr | Just hit this same issue with an upgrade to 8.2. Content that is linking to media items (with what appear to be valid media links) lead to this error. Removing the links or replacing them with standard item links resolves the error. I'm digging in and should hopefully have an answer as to what's going on with the media link replacement logic. It is caused by the code trying to replace the link in the HTML markup with the full end-user path to the media item. | |
Dec 15, 2016 at 18:49 | comment | added | Pete Navarra | Can you please provide your Sitecore version, and post a screen shot of where you're seeing the issue? I'm not for certain, but there is a bug that Sitecore Support has a support DLL for that is specifically about issues with Links in Experience Editor. It revolves around bad characters in the link.. (For example an ampersand &) | |
Dec 13, 2016 at 17:41 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 13, 2016 at 17:44 | comment | added | Chris Auer | The code is this int num2 = text.IndexOfAny(this.quotes, num); text.Substring(num2, text.Length - num2); It looks like it is looking for quotes or '/' and can't find them. | |
Nov 13, 2016 at 17:30 | comment | added | phani | @Velict May be a silly question, but is your item published when you are actually visiting the page from web database? It doesn't happen in Experience Editor, it could be using master database. Can you confirm same? | |
Nov 10, 2016 at 12:57 | comment | added | Mathias Hove | The link itself does not contain any z=z parameters. example "<a href="-/media/3d955bcdb03c45dcafad14d2813ad2bc.ashx">pdf</a>" The version of sitecore is 8.2. | |
Nov 10, 2016 at 12:29 | comment | added | Daniil | can you please add a link code how it stored in RTE (something like <a href="/~/...z=Z">). And which SC version do you use? I saw such error once it was caused by wrong case of the z=z parameter. | |
Nov 10, 2016 at 11:05 | comment | added | Mathias Hove | It does make a difference if i have a image or not in the RTE. It still produces the error | |
Nov 10, 2016 at 10:30 | comment | added | Vlad Iobagiu | do you have also images on your rich text? if yes can you remove images and try again | |
Nov 10, 2016 at 10:23 | history | edited | Mathias Hove | CC BY-SA 3.0 |
added 5637 characters in body
|
Nov 10, 2016 at 10:19 | comment | added | Gatogordo | Do you have a stack trace or log or anything that would prevent us from guessing? | |
Nov 10, 2016 at 10:16 | review | First posts | |||
Nov 10, 2016 at 10:18 | |||||
Nov 10, 2016 at 10:14 | history | asked | Mathias Hove | CC BY-SA 3.0 |