U4-6395 - Grid RTE - Links do not update in some situations

Created by Tom Fulton 11 Mar 2015, 19:59:33 Updated by Shannon Deminick 15 Mar 2015, 22:51:44

Is duplicated by: U4-6117

Relates to: U4-6117

When editing a link inside an RTE in a Grid, it's possible that changes to your link may not save.

If you change an existing link, click Select, then immediately click Save/Publish, your link will not be updated. However, if you place your cursor anywhere inside the RTE before clicking Save/Publish, your link is updated correctly.

See screencast showing the issue: http://screencast.com/t/oeGA7Y4DVe
''(Notice that the link does not change the first time, but does the second time after placing my cursor in the RTE)''

This only occurs when the RTE is inside a Grid (Archetype has the same issue). Clicking Save/Publish causes [https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.controller.js#L276-L281 this event] to fire, which causes the link to get updated on a normal page, but does not fix in the Grid situation even though it does fire (guessing it has to do with the order things happen in).


Matthew 11 Mar 2015, 21:37:02

This has a huge pain in the ass for us with Archetype and has also been reported before by myself. I never realized it was Archetype causing the issue, though.

Kevin Giszewski 13 Mar 2015, 15:44:38

PR sent to core: https://github.com/umbraco/Umbraco-CMS/pull/653

Tom Fulton 13 Mar 2015, 21:07:30

Kevin's fix looks to correct the issue in both the Grid and Archetype for me!! #h5yr

Shannon Deminick 15 Mar 2015, 22:51:44

Thanks for the PR and review, it's pulled in for 7.2.3

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.2.2

Due in version: 7.2.3


Story Points: