Feeds

PFF (BUG / Aaargh ...): Deleting a blog sends article to Nirvana (dev > NULL)

PerformancingAds
Submitted by Markus Merz on October 11, 2006 - 9:07pm in

GRMMPPPPFFF (esp. the PPPFFFF part!)

I was writing a very lengthy article and after finishing it I decided to delete a blog from the blog list. No I idea why I had to do that right at that moment (Aaarghhh ...); must be some genius special Mr. Merz software testing procedure hidden deep in my subconsciousness.

Well, the blog was deleted fine, so was my article incl. text, title and tags.

After hitting Ctrl-Z for a couple of times (pretty furious and fast) Firefox crashed too. All those nice research tabs lined up in front of me, just POOFF (esp. the P__FF part) vanished.

W2K (restricted user), PFF 1.3, FF 1.5.07

Call me software tester :-)


Markus. I am very very sorry

Markus.
I am very very sorry man.
But thank you :) Reminds me to add auto-save :)

So when you delete a blog it clears out your post (I'm unable to test it right now).
Will look into it, as there is no need for that to happen. Thanks!

-Jed

@Jed: You are (still :)

@Jed: You are (still :) welcome :-)

The problem must be somewhere in the internal PFF workflow ... more precise how PFF puts article context into blog publishing context. Before you can delete a blog you have to select it. After selecting the blog PFF (somehow) delegates all the article context to that specific blog context. Deleting the blog also deletes all the 'context'. That's how I explain that disaster to myself (too late).

Now it's up to you to solve that problem ...

Deleting blog entry

I can verify Markus's observation (polite word for "loss"). When deleting a blog PFF indeed deletes any exisiting content you may be writing at the time. I began saving any lengthy entry I was writing as a "note" just for this (and other) reason(s) since any major operation like deleting a blog while an entry your working on is still in the editor doesn't seem to affect your saved "notes".

I find myself using "notes" all the time now. They come in very handy. Perhaps something like a simple "Unfinished entry will be lost during this operation. Save as note?" dialog box that pops up before any operation can occur that will wipe out an unfinished entry might be possible.

Hope I'm barking up the right tree here.

Just an thought.

Basically it would help if

Basically it would help if every article is auto-saved (as note?). I am sure Jed will come up with a reasonable solution.

Re: Basically

Aye, he usually does at that being the clever soul he is. Must be hard being a genius (sorry, couldn't resist).

Hmm. I see what you mean. 1)

Hmm.

I see what you mean.

1) I think a first fix would be NOT to clear out the current data when a blog is deleted
2) Auto-saving as well. Right now it DOES auto-save when you close pff, however it should do it after X amount of characters change or after a certain amount of time... I'm thinking about how to best do that without being too resource intensive.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <h2> <h3> <h4> <img> <div> <a> <em> <strong> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <span> <table> <td> <tr> <caption> <th> <hr> <pre> <br> <p> <object> <param> <embed> <strike>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
11 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.