Hi!
When I add a few categories to the Articles (like: sports, regional etc) they are deleted (all not used) when adding an article.
Scenario:
1) Add some categories for Articles (settings/admin).
2) See they are available when adding new article (select list, also in database in sys_categories).
3) Add article but choose only one category.
4) Try to add another article... voila - all categories that were empty (have not been selected) are gone.
I know this fragment of code deletes all my categories:
function reparseObjTags( $sType, $iID ) {^M $this->getTagObjectConfig();^M ^M $iID = (int)$iID;^M if ( array_key_exists($sType, $this->aTagObjects) && isset($this->aTagObjects[$sType]['Query'])) {^M db_res( "DELETE FROM `{$this->sTagTable}` WHERE `{$this->aTagFields['id']}` = $iID AND `{$this->aTagFields['type']}` = '$sType'" );^M $sqlQuery = str_replace('{iID}', $iID, $this->aTagObjects[$sType]['Query']);
Yes, this is inc/classes/BxDolTags.php, line 96.
Another weird thing is IDs of categories in database (after installation are all zeros). I think this is it doesn't work. DB table design issue?
Oh, and it is being parsed like tags too changing capital letters to small. I suggest to leave it to the editors choice.
Best regards and thank you for your valuable work.
Alex
PS
This applies to D7 beta 3.