U4-3799 - @Umbraco.Field("bodyText") returns {LocalLink:xxx}

Created by Sebastiaan Janssen 05 Dec 2013, 09:16:24 Updated by Shannon Deminick 14 Jan 2014, 00:35:31

Is duplicated by: U4-3803

Relates to: U4-4039

See U4-2781 Rendering RTE in MacroScript or Using Node object will not change the href value to url

Comments

Shannon Deminick 09 Dec 2013, 03:29:11

The reason for this is because the tinymce link plugin is inserting locallinks with a prefixed 'umbraco' path.

For example, the link that gets applied is: href="/umbraco/" where it should just be:

href="/"

Looks like just changing the 'false' to 'true' when running this command changes that: editor.execCommand('mceInsertLink', false, {

Will need @per to review though to make sure when he created this that the 'false' is important or not.


Shannon Deminick 09 Dec 2013, 03:32:30

Actually that is only part of the reason - and now suddenly the /umbraco prefix is no longer occuring. Stay tuned.


Shannon Deminick 09 Dec 2013, 04:20:31

This is now fixed in 049c65a2c7d598805ff6173708f7060c25daa611, will get Stephen to review since it's part of the changes to published content.


Priority: Major

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.0.0

Due in version: 7.0.1

Sprint:

Story Points:

Cycle: