Project

General

Profile

Actions

Bug #85832

closed

Direct Mail & Uncaught TYPO3 Exception: #1437656456

Added by Marko Röper-Grewe over 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2018-08-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

I get the following Exception if I want to edit the newsletter data of a new intern page newsletter:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1437656456: $uid must be positive integer, 0 given (tablename: sys_dmail) | InvalidArgumentException thrown in file .../typo3_src-8.7.17/typo3/sysext/backend/Classes/Form/FormDataProvider/AbstractDatabaseRecordProvider.php in line 42. Requested URL: .../typo3/index.php?route=%2Frecord%2Fedit&token=--AnonymizedToken--&edit[sys_dmail][]=edit&returnUrl=%2Ftypo3%2Findex.php%3FM%3DDirectMailNavFrame_DirectMail%26moduleToken%3Dae42e994cd9572c3cfad3c59af1777b269b2e251%26id%3D262%26CMD%3Dinfo%26sys_dmail_uid%3D%26fetchAtOnce%3D1

I found out, that the check, if the uid is > 0 prevents the error.

So I've added this check to the file:
/typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseEditRow.php

from row 39 ff.:

if ($result['vanillaUid']>0){
...
}

Actions #1

Updated by Marko Röper-Grewe over 6 years ago

unfortunaly there are a new error after trying to save the data:

1: Attempt to modify record '[Kein Titel]' (sys_dmail:0) without permission. Or non-existing page.

So - there are more to do.

Has anyone else the same problem?

Actions #2

Updated by Marko Röper-Grewe over 6 years ago

  • Description updated (diff)
Actions #3

Updated by Marko Röper-Grewe over 6 years ago

  • Private changed from No to Yes
Actions #4

Updated by Benni Mack over 4 years ago

Hey Marko,

you changed the issue to "private" so nobody (except admins like me) can see the issue. Did you do this on purpose? Also: Did you find a solution to your problem?

Actions #5

Updated by Oliver Hader over 4 years ago

  • Private changed from Yes to No
Actions #6

Updated by Benni Mack about 4 years ago

  • Status changed from New to Closed

Closing the issue due to lack of feedback. If you feel otherwise, let me know so I can re-open the issue.

Actions

Also available in: Atom PDF