This looks some sort of file corruption inside bdscats.db and completely unrelated to E-Blah.
Tried a session of creating new Cateories and Boards, and adding some content, then editing, deleting and recreating them - all worked perfectly.
I couldn't delete any of the live data, but adding and deleting Boards to other existing Categories worked perfectly too.
Returning to the problem Category, I noticed that when I deleted Boards beneath it, the
name was removed, but the
folder graphic remained in place and could not be removed, although it could be moved to other Categories. Examining bdscats.db showed the Board name was still in the Category line.
I couldn't see anything different in the line before I tried to delete it using the E-Blah editor, but afterwards I could see that the problem Category had an extra pipe | at the end. Revealing paragraph marker showed that this line end was a Carriage-return followed by a pipe followed by a Line-feed: CR|LF
All other line entries were Carriage-return followed by Line-feed: CRLF
As a last check, I deleted everything at the end of the line, then inserted a CRLF by hand, and deleted the Board entries.
Using the E-Blah Editor, the problem was still the same, I couldn't delete the Category and the CR|LF line ending re-appeared.
I then deleted the whole line corresponding to the offending Category - this completely removed the offending board and the symptom.
Out of curiosity, I recreated the Category using the same names, descriptions etc, and this worked perfectly.
Most odd, as the new line and the old problem line
look the same when pasted one above the other in a text editor.
I was also monitoring what was being added/removed to bdindex.db at the same time, and at first glance, the entries were appearing and disappearing as expected.
One to forget, I think.
