Skip to content

Multiple Javascript Erros - Not able to link text #12178

@handkerchief333

Description

@handkerchief333

Steps to reproduce

  1. Open the Mail app (no errors)
  2. Create new messages (first errors appear)
  3. Write text, highlight a word, click on link, and try to fill in a url, it's not possible
  4. Select any message (other errors appear: scrollIntoView)

Expected behavior

You can write a message without errors in the javascript console and create a link in the message.

Actual behavior

Multiple errors appear in the javascript console within the mail app and it's not possible to insert a url in the link ckeditor widget because somehow the "Link URL" field is out of focus or so...

[ERROR] mail: could not find CKEditor translations for "de-DE" 
Object { app: "mail", uid: "example", level: 2, error: Error  }

TypeError: can't access property "push", this.additionalTrapElements is undefined

Uncaught (in promise) TypeError: can't access property "mailboxId", i is undefined

When I want to try to type in something in the "Link URL" field:

[ERROR] mail: could not flag envelope via shortkey 
Object { app: "mail", uid: "example", level: 2, env: undefined, error: TypeError }

When I open/click on a message:
TypeError: Element.scrollIntoView: 'top' (value of 'block' member of ScrollIntoViewOptions) is not a valid value for enumeration ScrollLogicalPosition.

In the logs I can only see this error:

[index] Error: PHPMailer\DKIMValidator\DKIM::canonicalizeBody(): Argument #2 ($style) must be of type string, null given, called in /var/www/html/custom_apps/mail/vendor/phpmailer/dkimvalidator/src/Validator.php on line 102 in file '/var/www/html/custom_apps/mail/vendor/phpmailer/dkimvalidator/src/DKIM.php' line 127
	GET /apps/mail/api/messages/9017/dkim

Happens on Firefox 146.0 (64-bit).

Mail app version

5.6.4

Nextcloud version

32.0.1 (AIO)

Mailserver or service

No response

Operating system

No response

PHP engine version

PHP 8.3

Nextcloud memory caching

No response

Web server

None

Database

None

Additional info

I know that the errors may not be related and that it is therefore possible that all these errors have several different causes, but they all occurred at the same time. The most important thing is certainly that it is not possible to insert a link in CKEditor.

Metadata

Metadata

Type

Projects

Status

🏗️ In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions