Bug #21084
closed
Pages in Workspaces are not editable anymore, course of a "PHP Catchable Fatal Error"
Added by Michael Elzer over 14 years ago.
Updated almost 10 years ago.
Description
If you are working in a workspace and try to click on a page using the left mousekey to open a menu, the following error appeared (similary to Bug-ID 15292):
PHP Catchable Fatal Error: Argument 2 passed to t3lib_iconWorks::getSpriteIconForRecord() must be an array, null given, /typo3_src/typo3_src-4.4.2/typo3/sysext/cms/layout/class.tx_cms_layout.php on line 570 and defined in ~/typo3_src/typo3_src-4.4.2/t3lib/class.t3lib_iconworks.php line 735
Bug happens only in workspaces - Live-Edit works fine. Had to go back to 4.4.0.
Problem appeared since 4.4.1 and stayed in 4.4.2.
(issue imported from #M15401)
Files
sorry I can't reproduce it. can you tell which steps need to be followed to reproduce it.
- Are you working in the page module (templavoila?) or in the workspace module?
- On which icon do you click?
I tested with current trunk
- Login as administrator or as a user who has access to more than one workspace and the live-environment
- Choose a workspace (problem appears on all of our workspaces)
- Change to view "Web > Page"
Click on the title of the page (to get a overview of the content on the right side)
The error-message should appear now.
If a user has only access to one workspace, the problem does not appear.
We don't use templavoila.
Addition:
If a Page has no translation, the first translation of this page in another workspace works fine and no error message appears. All additional translation of this same page in another workspace ends in the error message.
It looks as if the error appears only when a translation was created in another workspace. Pages who are completed/translated and do not appear in any workspace work fine and no error-message is displayed.
sorry, still not reproducable.
To Reproduce:
1) Requirements: 2+ WS, 2+ languages
2) Create a page in Live WS
3) Create one translation in WS #1
4) Switch to WS #2 > Errir
- Assignee deleted (
Georg Ringer)
- Target version deleted (
0)
Should be fixable by making the function exec_languageQuery in db_layout.php workspaces aware.
- Assignee set to Susanne Moog
- Status changed from Accepted to Needs Feedback
Anyone able to reproduce it atm (running 4.6beta)?
I could reproduce this with the TYPO3 introduction package 4.5.5:
1. Switch to a workspace.
2. Create a language page overlay.
3. Create a text element on that page in the new language.
4. Switch back to live workspace.
5. Open the page usinge the "page" module in the backend.
Patch set 1 of change I63893e4943ac025f95481ed22d8ac273455a4057 has been pushed to the review server.
It is available at http://review.typo3.org/5609
Patch worked for me - haven't found it in Gerrit elsewhere so I pushed it although I'm not the author. Who is? "Administrator" - Susanne?
- Status changed from Needs Feedback to Under Review
Tolleiv Nietsch wrote:
Patch worked for me - haven't found it in Gerrit elsewhere so I pushed it although I'm not the author. Who is? "Administrator" - Susanne?
Georg is: See http://bugs.typo3.org/view.php?id=15401
- Project changed from 624 to TYPO3 Core
- Priority changed from Should have to Must have
- Category set to Workspaces
- TYPO3 Version changed from 4.4 to 4.5
- Is Regression set to No
What ist the state of this issue?
- Status changed from Under Review to Closed
Also available in: Atom
PDF