We have moved to a new Sailfish OS Forum. Please start new discussions there.
0

askbot: question lost/deleted? [answered]

asked 2014-05-23 07:58:52 +0300

Kari gravatar image

@Keto

Can you check and verify what happend to the popular navigation related wiki question.

https://together.jolla.com/question/339/offline-downloadable-map-data-and-turn-by-turn-navigation-in-maps/

I was editing my previous comment on that question with "minor update" and got response the question is deleted?

What happened?

Can you restore the question back with the given votes?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by Kari
close date 2014-05-23 09:16:13.972286

1 Answer

Sort by » oldest newest most voted
1

answered 2014-05-23 09:08:44 +0300

Keto gravatar image

updated 2014-06-19 15:33:33 +0300

The post entry in database says it was deleted by you Kari... I have now restored it.

It looks like something goes wrong really randomly. There was a report about mysteriously disappearing answer some time ago. Back then I wasn't able to reproduce the issue and didn't find any hints about what might go wrong, I'll continue investigation as it seems to be a real problem.

If anyone else has noticed something like this, please comment here what happened, what were you doing at the moment and maybe also which browser you were using.

UPDATE

Still could not find a reasonable root cause for this. But at least now, to prevent the accidental deletions and such, there is a confirmation dialog for all destructive actions.

edit flag offensive delete publish link more

Comments

@Keto

Thanks for the restoring the post and additional info about the problem.

If you find the root cause, I am interested to know about...

Kari ( 2014-05-23 09:15:13 +0300 )edit

I still can't find any other reason than accidental tap on the 'delete' link. Based on the logs there was really request for edit and delete, so it didn't just delete the question on it's own :) I tried hard to reproduce any kind of false click on the delete link, without success, so I'm ruling this as a accidental finger slip.

For now I have raised the karma limits so that users can't delete other users posts. And I will be adding a confirmation dialog to the delete link, so that nobody accidentally deletes their own posts.

Keto ( 2014-05-23 15:13:10 +0300 )edit

This is bit strange as I was actually doing the edit of the question already and while attempting to save with minor edit tick mark I got the notification that questions is deleted. I can't understand how I was able to access to deleted question in this case?

As the logs are indication edit and delete it should mean that I have done my update with save i.e. It means that my latest update should be the latest version - right?

However the version what you have restored is the one that I actually started to edit not the one that I was trying to save.

I was doing the edit with Jolla Native browser, if that helps you to study this issue bit more. As you know we have had many kind of reload issues with native SF browser and perhaps this could explained what happend?

As you plan to do updates to the portal I noticed after the incident that with Jolla/SF browser the portrait orientation will place the close and delete links in two rows on top of each other (not overlapping). Here we have very good chance that user will click delete while attempting to close the question.

With Google Chrome such rendering of the links doesn't happen even the browser window size is reduced smaller than Jolla screen width.

Kari ( 2014-05-23 16:20:39 +0300 )edit

Yep, from the logs I saw that you were using Sailfish browser and that's what I used to try reproduce the issue (although a testing version, as I didn't have a device with the current public release handy).

The request for question edit page and request to delete the post were almost simultaneous, so my guess is that somehow it managed to launch the edit page load and delete request (which is done dynamically via javascript) at the same time. So at the backend, it constructed the question edit page and after that processed the delete request. Then when you tried to save the question, it had been deleted... I'm not completely sure if that is even possible, but that's the best theory I have at the moment. I will do more testing after I have downgraded one of my devices :)

And yes, I noticed also that the rightmost links are laid out a bit badly. I'll see what I can do about that.

Keto ( 2014-05-23 19:25:15 +0300 )edit

Thanks for the additional effort to study this bit deeper, I hope you will find the actual root cause for this.

By the way do we already have delete confirmation question for the posts that are not own posts?

This post is not mine and I don't recall seeing any confirmation for the deletion of the post. Just, if this will help you to improve your theory of what has happend...

Kari ( 2014-05-23 21:53:17 +0300 )edit

Question tools

Follow
1 follower

Stats

Asked: 2014-05-23 07:58:52 +0300

Seen: 12,395 times

Last updated: Jun 19 '14