Project

General

Profile

Actions

Bug #52972

closed

InvalidArgumentException in several cases

Added by LUBRANO J.F. over 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-10-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

Description

Under TYPO3 6.2beta 1 loading a new language in the backend raise an error (see included screen hardcopy):

InvalidArgumentException thrown in file
/mnt/hgfs/Temp/TYPO3/typo3/sysext/core/Classes/Resource/File.php in line 221.

This worked fine under TYPO3 6.2.0 alpha 3.

My webserver runs PHP 5.3.10 in FastCGI mode.


Files

languageBug.png (38.2 KB) languageBug.png LUBRANO J.F., 2013-10-19 13:33
language-error.png (106 KB) language-error.png TYPO3 Exception in Development Modus Pascal Hinz, 2013-10-21 17:36
language-full-error.png (375 KB) language-full-error.png Full TYPO3 Exception in Development Modus Pascal Hinz, 2013-10-21 17:36

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #52841: New FAL IndexerClosed2013-11-13

Actions
Has duplicate TYPO3 Core - Bug #53131: Uncaught TYPO3 Exception uid property is already set. Cannot merge index record. When running 'Migrate all file links of RTE-enabled fields to FAL' wizardClosed2013-10-25

Actions
Actions #1

Updated by Torben Hansen over 10 years ago

I had a similar problem on a site which I migrated from 4.5 to 6.2beta1. In my case the problem was an incompatible extension (ics_awstats), which caused some PHP errors. After removing the incompatible extension, the language manager worked fine again.

Actions #2

Updated by Pascal Hinz over 10 years ago

Had the same problem with TYPO3 6.2beta1 but i had to deinstall the TYPO3 System Extension "About Modules (aboutmodules)".

Actions #4

Updated by Jan Greth over 10 years ago

Pascal Hinz wrote:

Had the same problem with TYPO3 6.2beta1 but i had to deinstall the TYPO3 System Extension "About Modules (aboutmodules)".

I have the same behaviour in a untouched new Installation. Uninstalling "About Modules" makes the language module functional again.

Actions #5

Updated by Stefan Aebischer over 10 years ago

I can confirm this. For me the error ocured on a fresh Install with sources from master at commit abc08c57858c47cf43ee68745f4642404daf7ba0.
But it only occured on the very first time i hit the Language module, afterwards it worked as expected.

Did not need to deinstall about modules.

Actions #6

Updated by Markus Klein over 10 years ago

  • Status changed from New to Accepted
  • Target version changed from 6.2.0 to next-patchlevel
  • Is Regression changed from Yes to No
Actions #7

Updated by Steffen Müller over 10 years ago

confirmed with master 8e1d6bd0e0c70ba0c827d17945d07327472dde75

I get the exception when clicking the about module. But with each click, a different file identifier appears in the stack trace.

After I continued to click several times, the about modules finally loaded.

Actions #8

Updated by Frans Saris over 10 years ago

I expect it is the same issue as http://forge.typo3.org/issues/53131

Have you run the File Indexer schedular task?

Actions #9

Updated by Markus Klein over 10 years ago

Running the scheduler task does not help/solve on current master fb404d65eac4baf1d3195ad0fa4d7eda59c641f5

  • About module does not work
  • Language module works
  • Filelist works
Actions #10

Updated by Markus Klein over 10 years ago

  • Subject changed from Loading Language in Backend to InvalidArgumentException in several cases
  • Category deleted (Backend User Interface)
  • Complexity set to hard
Actions #11

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25188

Actions #12

Updated by Frans Saris over 10 years ago

This are 2 different issues.

  1. the indexerService doesn't update the current object (see my patch)
  2. files from storage 0 are indexed again and currently that is needed to get the metadata (width+height) to work....
Actions #13

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25188

Actions #14

Updated by Gerrit Code Review over 10 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25188

Actions #15

Updated by Jan Bartels over 10 years ago

I've just installed the latest 6.2 trunk-version, which should include these patches.

If I run "Migrate all RTE magic images from uploads/RTEmagicC_* to fileadmin/_migrated/RTE/" in the Install-Tool, an uncaught exception is thrown (see duplicate #53131):

Uncaught TYPO3 Exception #1321023156: uid property is already set. Cannot merge index record. (More information)

InvalidArgumentException thrown in file
/.../typo3_62/TYPO3.CMS-master/typo3/sysext/core/Classes/Resource/File.php in line 225.

It seems that this issue is still unsolved.

Actions #16

Updated by Markus Klein over 10 years ago

  • Status changed from Under Review to Accepted

No there's no patch yet in current master.

Actions #17

Updated by Markus Klein over 10 years ago

This will be solved with: https://review.typo3.org/24747

Actions #18

Updated by Bernhard Kraft over 10 years ago

The mentioned review (https://review.typo3.org/24747) does not solve the problem with the language module or about modules. At least for me. Sorry.

Actions #19

Updated by Markus Klein over 10 years ago

Bernhard, this patch was split into multiple patches and all of these are merged for the time being.
Can you please just retest current master. (Don't forget to clear all caches and also the typo3temp/Cache/*)

Actions #20

Updated by Markus Klein over 10 years ago

  • Status changed from Accepted to Needs Feedback

Please test if this is still a problem on current master.

Actions #21

Updated by Alexander Opitz about 10 years ago

  • Status changed from Needs Feedback to Closed
  • Target version deleted (next-patchlevel)

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF