Bug #86678

Updated by Riccardo De Contardi over 2 years ago

h3. Prerequisites 

 - fresh TYPO3 9.5.0 installation 
 - a very simple tree like this one 

 <pre> 
 [ID=1] Home page (is the root) 
    | 
    +-- [ID=3] A page 
 </pre> 

 - a site configuration, here is mine: 

 <pre> 
 rootPageId: 1 
 base: 'https://typo3.9.test.it:8890/' 
 baseVariants: {    } 
 languages: 
   - 
     title: Italian 
     enabled: true 
     languageId: '0' 
     base: / 
     typo3Language: it 
     locale: it_IT.UTF-8 
     iso-639-1: it 
     navigationTitle: Italiano 
     hreflang: it-IT 
     direction: '' 
     flag: it 
   - 
     title: English 
     enabled: true 
     languageId: '1' 
     base: /en/ 
     typo3Language: default 
     locale: en_EN.UTF-8 
     iso-639-1: en 
     navigationTitle: English 
     hreflang: en-EN 
     direction: '' 
     fallbackType: strict 
     flag: gb 
 errorHandling: {    } 
 routes: {    } 
 </pre> 

 - Workspaces ext enabled 

 h3. steps to reproduce 

 1. create a workspace, name: "Custom Workspace"; assign the home page [ID=1] as mount point (@db_mountpoints@) 
 2. create the page "test page" (let's assume it has id=5) as a child of home page: 

 <pre> 
 [ID=1] Home page (is the root) 
    | 
    +-- [ID=3] A page 
    | 
    +--[ID=5] test page 
 </pre> 

 3. go to custom workspace 
 4. edit the page "test page", change something, e.g. the subtitle, save 

 h3. results: 

 you get an exception: 

 <pre> 
 Whoops, looks like something went wrong. 

 (1/1) #1534710048 TYPO3\CMS\Core\Exception\SiteNotFoundException 
 No pseudo-site found in root line of page 6 

 in /TYPO3-dists/typo3_src-9.5.0/typo3/sysext/core/Classes/Site/PseudoSiteFinder.php line 178 

 </pre> 

 the page with ID=6 has been created in the workspace - the "simplified" pages tables looks like: 


 |_. uid |_. pid |_. tstamp |_. t3ver_oid|_. t3ver_id|_. t3ver_label|_. t3ver_wsid| 
 | 5 | 1 | 1539803988 |0|0| |0| 
 | 6 | -1 | 1539804015 |5|1|Auto-created for WS #1|1| 

 I can reproduce this issue with both a fresh 9.5.0 and 9.5.1-dev (latest master) 

 Let me know if you need the full error or of further information. Thank you.

Back