Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving folders does not work #10548

Open
handkerchief333 opened this issue Jan 8, 2025 · 2 comments
Open

Moving folders does not work #10548

handkerchief333 opened this issue Jan 8, 2025 · 2 comments

Comments

@handkerchief333
Copy link

Steps to reproduce

  1. Create at least two folders FolderA and FolderB in a mail box/account
  2. Move FolderA into FolderB per drag & drop or, select the three dots-menu of the folder FolderA, select "Postfach verschieben" (DE) and choose FolderB.

Expected behavior

FolderA should be a subfolder of FolderB

Actual behavior

FolderA stays outside of FolderB.

If FolderA and FolderB are at the beginning already in the same subfolder FolderC, and you try to move FolderA in FolderB, FolderA appears not in FolderB, but now at the same level as FolderC.

Mail app version

4.1.1

Nextcloud version

Nextcloud Hub 9 (30.0.4)

Mailserver or service

Hostpoint

Operating system

FreeBSD 13.4

PHP engine version

PHP 8.3

Nextcloud memory caching

No response

Web server

Apache (supported)

Database

MariaDB

Additional info

The following log entries may also have nothing to do with this issue.

  • With log level 2, nothing happened in the logs at the action itself, but other errors/warnings:

Warning: cron:  QueryNotFoundException Could not resolve OCA\Mail\BackgroundJob\WakeJob! Class "OCA\Mail\BackgroundJob\WakeJob" does not exist

failed to create instance of background job: OCA\Mail\BackgroundJob\WakeJob 
 QueryNotFoundException Could not resolve OCA\Mail\BackgroundJob\DraftsJob! Class "OCA\Mail\BackgroundJob\DraftsJob" does not exist

failed to create instance of background job: OCA\Mail\BackgroundJob\DraftsJob 
 QueryNotFoundException Could not resolve OCA\Mail\BackgroundJob\IMipMessageJob! Class "OCA\Mail\BackgroundJob\IMipMessageJob" does not exist

failed to create instance of background job: OCA\Mail\BackgroundJob\IMipMessageJob 
 QueryNotFoundException Could not resolve OCA\Mail\BackgroundJob\OutboxWorkerJob! Class "OCA\Mail\BackgroundJob\OutboxWorkerJob" does not exist

failed to create instance of background job: OCA\Mail\BackgroundJob\OutboxWorkerJob 
 QueryNotFoundException Could not resolve OCA\Mail\BackgroundJob\PreviewEnhancementProcessingJob! Class "OCA\Mail\BackgroundJob\PreviewEnhancementProcessingJob" does not exist

failed to create instance of background job: OCA\Mail\BackgroundJob\PreviewEnhancementProcessingJob 

Error: PHP: Undefined array key 1 at /web/apps/mail/vendor/phpmailer/dkimvalidator/src/Validator.php#52

Error: PHP: openssl_verify() [<a href='https://secure.php.net/manual/en/function.openssl-verify.php'>function.openssl-verify.php</a>]: Supplied key param cannot be coerced into a public key at /web/apps/mail/vendor/phpmailer/dkimvalidator/src/Validator.php#337 
  • With log level 0, such log entries happend:
Debug: 	no app in context:  OCA\Mail\Controller\MailboxesController::sync uses the @NoAdminRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoAdminRequired] attribute instead 

Debug: no app in context: Exception dirty table reads: SELECT * FROM `*PREFIX*mail_mailboxes` WHERE (`account_id` = :dcValue1) AND (`name_hash` = :dcValue2)
@handkerchief333 handkerchief333 changed the title Move Folders not working Moving folders does not work Jan 8, 2025
@GretaD
Copy link
Contributor

GretaD commented Jan 14, 2025

i can reproduce the error with drag and drop and on my console i have this error

Image

but the move mailbox action, works fine

@handkerchief333
Copy link
Author

Thank you @GretaD for the fast response.

I tested again, you are right, it is working, but only on the first level.

Scenario:
Create this structure:

  • FolderA
    • FolderC
  • FolderB

-> Now move FolderC into FolderB without drag&drop.

Result: FolderC appears now outside of both FolderA/FolderB on the first level.

And after the previous step:
-> Move FolderC from the first level into FolderA or FolderB. Make a page reload

Result: FolderC appears still on the first level.

Same happens for nested folders with more levels than just two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants