Over the last year I stumbled upon an error that deleted my complete jdownload directory... multiple times. This is what happens:
I have a couple of subcategories that I want to copy (via batch) to another category. Also the access level gets a change via the batch. All in one work step. The new subcategories are created in the right category, but the access level is the old one and I have an error code at the bottom of all categories (see screenshot). The access level for the entry with the error code is the one, that I wanted through the batch.
When I delete the category with the error code my complete jdownloads directory gets deleted from the server. I have an up-to-date backup and continue to work at the weekend from home with a faster internet connection.
I think this error category is created when I want to copy AND change the access level with the batch in one step.
I did some simple copy jobs to other categories and no error was created. I still work with jdownloads x.46 but want to update on the weekend.
I hope you can bring some sense into this error ;-)
The batch would make my life a lot easier :D
Lena
[gelöscht durch Administrator]
I deleted the entry directly in the database without any problems. I still wonder where it came from and how deleting it in the backend can have such dangerous results like deleting the whole server folder of jdownloads.
Hmm! Challenging.
Will see if I can reproduce but it does sound dramatic! So might just do a code walk to look for vulnerabilities.
I suspect you are right as the original batch code did not handle Access or other Permissions. There may be a possible clash as normally the access is taken from the parent.
What I would do is to copy the subcats and their decedant downloads using file zilla or some other ftp utility, and then do an auto monitor. Actually I am not a fan of the 'batch' items as the Joomla! infrastructure of Access, Permissions, Tags and so on has become more involved.
Colin
I will also check later today this problem. Maybe has the new category not really a name at the end from the process. See your error message. So when you try to delete it afterwards, the path is still the root path. So we must check why you get the error. Which language use you for the category titles? And what for settings use you in the jD configuration on the Tab for "Folders and Files"?
I attached a screenshot of the settings.
The titles are german. There is the special character ":" in it.
[gelöscht durch Administrator]
Okay. Könntest du mir noch ein Beispiel für einen der verwendeten Kategorienamen geben? Gerne auch via PM.
Aufbau:
Orchester
- Trompete
-- Trompete: A
-- Trompete: B
-- Trompete: C etc.
- Posaune
-- Posaune: A
-- Posaune: B
-- etc.
Der Kopiervorgang war Trompete: A bis Trompete: Z in ein weiteres Orchester, wo die Unterkategorie "Trompete" schon bestand.
Bitte kopiere die entpackte unten stehende Datei in diesen Ordner: /administrator/components/com_jdownloads/controllers/
und überscheibe das Original. Versuche es anschließend erneut mit der Batchverarbeitung. Lösche aber keine Kategorien mehr welche eine Fehlermeldung bringen sollten. Sollte aber jetzt wieder funktionieren. Sorry für die Umstände.
Stop. Scheint doch noch Probleme zu machen Sorry. lass mich das heute abend mal in Ruhe reparieren.
Alles klar, dank Backup bin ich entspannt ;)
Okay, the bug is fixed now in jD 3.2.49. Shall be published today.