|
Coincidentally I could identify the actual bug and can reproduce it any number of times.
1) Just create an article. Write something. Upload an image into the image box. Insert it in article. It's auto saved. Close it, open later. It's there. Perfect.
2) Now open for editing and drag an image into the address bar ( yup, you got it right, rather than dropping the dragged image into the box for image, drop it in address bar)
3) Browser shows the image. Now hit back button. Bingo( though there is nothing bingo about it) the article with it's entire resource is gone. No trace of it.
----------------------------------------------------
Having said that, I did not drag and drop anything into address bar. I pressed the Save button. But I feel it's something pretty similar.
|
|
|
|
|
I've identified the cause of the viewstate issue - it's session specific. That will be fixed today.
Your steps suggest we need to slap each other around the head and body a few times. We'll get that fixed too.
cheers
Chris Maunder
|
|
|
|
|
Glad that the problem is detected. The bigger issue on my side is would I have to rewrite entire article once more or is there any remote possibility of finding some fossils from somewhere?
If even a part of it is recovered, I would be glad!
|
|
|
|
|
Following your steps does not produce the problem you're seeing.
Also, when testing a series of edits/saves/edits (in composing mode) I'm seeing multiple versions of my article being created.
Can you confirm that, while you're editing your article and keeping it in composing status, you're hitting the Save / Submit button? Or hit it at least once? Or was the one time you hit the button to save the one time it exploded on you?
cheers
Chris Maunder
|
|
|
|
|
Hi Chris, I have started rewriting my article once more. But this time, before hitting any Save/Publish button I am copying the stuff in a Word Document.
But for a new article also I faced the same error. Look at the screen bellow. When you see the article ID and time you know for which article.
https://www.dropbox.com/s/pah8fs3l7i060as/Error-Agani.jpg?dl=0[^]
How it happened:
1) I composed. It was auto saving. Then I selected agreed license check box and don't publish checkbox. After which I preferred save. It produced this result. It was not my intention to produce this result. It happened.
But this time I did not hit back button.I closed the tab. When I opened My Articles from a new Tab, the article was there as it should be with all it's contents.
So I think objects are getting destroyed once we are landing in the error page. Or is it Chrome's error?
Further this time I was using Old Editor, so this is editor independent problem. Note in Old editor the problem of of Editor opening the image when we drag it on address bar is not happening as the editor is shooting "Content not saved. Want to leave dialog".
I am really surprised why no one out of 1 million people have ever had faced this problem? Weird!
|
|
|
|
|
Grasshopper.iics wrote: I faced the same error Yes - I'm not surprised. I'm still testing some bits and haven't had a chance to deploy the latest yet. Grasshopper.iics wrote: I am really surprised why no one out of 1 million people have ever had faced this problem? Other's have, and we spent a fair bit of time last week trying to narrow down what the issue was. The biggest issue, of course, is replicating it. It works perfectly in Dev. Each time we get a report it's like another clue, another piece of the puzzle
cheers
Chris Maunder
|
|
|
|
|
The ViewState issue should now be fixed.
cheers
Chris Maunder
|
|
|
|
|
I tested it and now it's perfectly working. I have tried all scenarios like dragging a file ( image zip) into url and then press back button. It's working. I have pressed save after some upload and all.
Looks like that weird problem is gone.
By the mean time I rewrote the whole tutorial:
http://www.codeproject.com/script/Articles/ArticleVersion.aspx?waid=146674&aid=834177[^]
Hopefully I would be able to publish after final touch up without any more bite of bugs
|
|
|
|
|
Excellent.
The important thing for me is that we're seeing a version history[^] so you can roll back should things go wrong.
cheers
Chris Maunder
|
|
|
|
|
|
|
|
"Your status enables you to edit this question. Alternatively, if the question is incomplete or simply isn't a question, then please report it."
I am seeing this in every question. So can i edit the questions of other members? If yes can anyone please say me how?
Thanks In Advance
So much complexity in software comes from trying to make one thing do two things.
Sibeesh
|
|
|
|
|
I think we can edit questions in Quick Answers Section.i have Edited some of the question which I thought is Incomplete/Not clear after going through it fully.I dont know about that in article writing
|
|
|
|
|
But i could not find any option to edit others question. Can you please say me how?
So much complexity in software comes from trying to make one thing do two things.
Sibeesh
|
|
|
|
|
When you place mouse over the question a link 'Improve question' appears in Green color.I am saying about questions in quick answers only.i don't know about other topics
|
|
|
|
|
Yeah i got it buddy. Thank you
So much complexity in software comes from trying to make one thing do two things.
Sibeesh
|
|
|
|
|
Click on the Improve question link below the question. But use with care, it is easy to destroy someone's question with this feature.
|
|
|
|
|
Yeah sure i will take care . Thank you
So much complexity in software comes from trying to make one thing do two things.
Sibeesh
|
|
|
|
|
Before you think you are ready to improve other peoples questions, consider whether you are fully aware of what you are doing. Would you want someone who posts a question that has nothing to do with articles, and yet posts that question in the articles section, try to "improve" your question?
|
|
|
|
|
Just click, "Improve Question"
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Yeah i have got it. Thanks a lot
So much complexity in software comes from trying to make one thing do two things.
Sibeesh
|
|
|
|
|
I can see a 5 star rating and 2 votes to my article. How can I know that who has voted for me?
|
|
|
|
|
You cannot. At CodeProject we weave a pleasurable mystery about where love comes from. If someone votes a 2 or a 1, they have to say why, but you may never discover the identity of 4's and 5's unless they choose to comment.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Sounds Interesting!
Thanks for answer.
|
|
|
|