Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
achtung_hilfreich_typo3_bugs_wichtig

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
achtung_hilfreich_typo3_bugs_wichtig [2017/09/22 15:12] laskawyachtung_hilfreich_typo3_bugs_wichtig [2024/01/05 13:07] (current) – external edit 127.0.0.1
Line 5: Line 5:
 In dieser Datei: In dieser Datei:
 <code> <code>
-typo3/sysext/extbase/Classes/Persistence/Generic/Mapper+typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php
 </code> </code>
  
Line 23: Line 23:
  
 geändert werden! geändert werden!
 +
 +====== Referenzieren von Inhalten verursacht, Fehlsortierung auf der gesamten Seite ======
 +
 +Dieses Phänomen tritt bei der Verwendung der Extension "FLUX" auf. 
 +Um diese Fehlsortierung abzuschalten, geht in die Datei (in etwa Zeile 630): 
 +<code>
 +flux\Classes\Backend\TceMain.php
 +</code>
 +
 +und sucht euch den Bereich:
 +<code>
 + foreach ($children as $child) {
 +
 +            // Perform an SQL query which directly copies the original record's sorting number to the copy.
 +            // When not in a workspace: copy the sorting field value from original to copy.
 +            // When in a workspace: copy the sorting field value from original to versioned record and move placeholder.
 +            if ($GLOBALS['BE_USER']->workspace) {
 +
 +                // Update versioned record (which is what $parentRecord is when copy happens in workspace mode)
 +                $this->getDatabaseConnection()->sql_query(
 +                    sprintf(
 +                        'UPDATE tt_content t, tt_content s SET t.sorting = s.sorting WHERE t.uid = %d AND s.uid = t.t3_origuid',
 +                        $child['uid']
 +                    )
 +                );
 +
 +                // Update the move placeholder that was automatically created for the versioned record we updated above.
 +                $this->getDatabaseConnection()->sql_query(
 +                    sprintf(
 +                        'UPDATE tt_content t, tt_content s SET t.sorting = s.sorting WHERE t.t3ver_oid = %d AND s.uid = t.t3ver_oid AND t.t3ver_state = -1',
 +                        $child['uid']
 +                    )
 +                );
 +
 +            } else {
 +
 +                $this->getDatabaseConnection()->sql_query(
 +                    sprintf(
 +                        'UPDATE tt_content t, tt_content s SET t.sorting = s.sorting WHERE t.uid = %d AND s.uid = t.t3_origuid',
 +                        $child['uid']
 +                    )
 +                );
 +
 +            }
 +            $this->copySortingValueOfChildrenFromOriginalsToCopies($child);
 +        }
 +</code>
 +
 +Diesen komplett ausblenden!
 +
 +====== Elemente rutschen aus Grid-Container ======
 +
 +Dieses Phänomen tritt bei der Verwendung der Extension "FLUX" auf, mit eigenen Extensions.  
 +Um diesen Fehler abzuschalten, geht in die Datei "ext/flux/Classes/Service/ --> ContentService.php" (in etwa Zeile 197) und tauscht: 
 +<code>
 +$row['colPos'] = $relativeToRecord['colPos'];
 +</code>
 +in das:
 +<code>
 +$row['colPos'] = $relativeTo;
 +</code>
 +Zudem noch Zeile 217:
 +<code>
 +$row['colPos'] = static::COLPOS_FLUXCONTENT;
 +</code>
 +in 
 +<code>
 +$row['colPos'] = $relativeTo;
 +</code>
achtung_hilfreich_typo3_bugs_wichtig.1506093179.txt.gz · Last modified: 2024/01/05 12:59 (external edit)