I’m using Tutor 15.1.0.
In Studio, I added a Text component. I edited the Text component, added a text, and insert a link to that text using the text editor toolbar.
When I saved the insert link modal I could still see the link was inserted but when I hit save in the Text component, the link was removed.
I managed to link the text after many attempts but when I delete that text, it was not deleted.
Does anyone experience the same thing?
I tracked server logs and there was no errors.
I inspected the request in the browser and I found the link was removed in the request body.
After playing with it for awhile, I found some more interesting behaviors.
If I select a text and click the link icon to insert a link and then click Save, the link is not inserted, but if I make some more edit like adding a space or dot in the end of the text and then click Save, the link is inserted.
If I don’t select any text, I just click the link icon and add a link and text then click Save, the link is inserted.
So the error happens in 2 cases:
Select a text, click the link icon to add a link and then click Save immediately.
Ctrl + A to select everything and then press backspace to delete all, click Save immediately, the content is not deleted.
(1) I have no issue adding links in any manner. Works for me. Maybe it was just a bug on your browser, which could happen from time to time for anyone. In that case, delete the component and add a new one and try again. What do you think?
(2) I agree this is also the case for me. I will bring this up with the Build-Test-Release (BTR) Working Group in the next meeting. It’s not a “showstopper” so this may not get a fix right away.
This sounds similar to a bug we found just before the olive release, where changes were only saved if the text was changed. If your edit only changed markup (for example, adding a link or changing styling) it wouldn’t be saved.
I tried on 2 servers, one of them I did turn the flag on but then I turned it off because it didn’t work for me.
I’ve also tried on the tutor demo server, these issues are still there.
I upgraded using this command.
pip install --upgrade “tutor[full]”
@pdpinch Thank you for the explanation.
Can we have this fixed in open-release/olive.1 ?
it’s rather annoying when I add links, images, or anything that does not change the text.