Community
Participate
Working Groups
Using 'Backspace' key, we can not delete a pure linked item in RTE. Steps To Reproduce: 1. Create a new method element, e.g., a new role 2. DnD itself into the MainDescription area, save all and close the role's editor 3. Reopen the role's editor, select the "Role: New Role" item in MainDescription area, and using 'Backspace' to delete the it. -->Problem: no dirty flag for the editor 4. Close the editor and reopen it -->Problem: the linked item is still in here More information: 1. Not a regression, found in windows 2. This problem also for the other kinds of hyper-link, such as "http://www.google.com" 3. Only for 'Backspace', the using of 'Delete' or mouse cut/delete will not meet this problem 4. Only for a pure linked item, if you select the linked content merged with some pure text, and do the 'Backspace', the problem will not rise.
Created attachment 58406 [details] patch for fix the RTE's javascript was telling it to check for modification before the browser actually did the backspace. Set a 10 ms timeout for the modification check, and also did the same for the Ctrl+Z (Undo) command.
patch applied
It seem that this problem is not fix complete. Steps To Reproduce: 1. Create a new method element, e.g., a new role 2. DnD itself into the MainDescription area, save all and close the role's editor 3. Reopen the role's editor, select the "Role: New Role" item in MainDescription area, and using 'Backspace' to delete the it. 4. Close the editor and reopen it -->Problem: The linked item is still in here. 5. Check the HTML code in RTE editor of role -->Problem: A " " was added after the closed tag link </a> 6. Close the RTE editor and return role's editor 7. Select the link "Role: New Role" item in MainDescription area, and using 'Backspace' to delete the it -->Result: The link item is delete complete.
Reopen this according to wang jun's descritption
This problem is caused by the UI's use of the FocusLost event to determine when to update the underlying model. When you delete the link, the editor gets marked dirty, however the model is not updated until the focusLost event is fired by the RTE. Clicking the 'X' on the editor tab to close it does not cause this focusLost event to fire, so the model is not updated. The best way to fix this is to change the focusLost listeners to use some other event that is more reliable.
Can't reproduce this problem on EPF 1.2 build 20070724 and closed.
LATER/REMIND bugs are being automatically reopened as P5 because the LATER and REMIND resolutions are deprecated.