Project

General

Profile

Actions

Bug #97750

closed

Form: Cannot publish workspace after creating form content element

Added by Stephan Schuler almost 2 years ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2022-06-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Stabilization Sprint

Description

Hey there.

Configuration:

I'm currently running a TYPO3 version 10.4.27.

I have extension EXT:workspaces enabled.
I have extension EXT:form enabled.

I have a single other workspace in addition to "Live".

Walk through

I create a new content element of CType "form_formframework" within that workspace.

This content element relates to a specific "definition" file through the "settings.persistenceIdentifier" property of its pi_flex.

Then I try to publish by opening the "Workspace" module of the root page of a site.

Expected behavior

I see a table showing every change the workspace wants to publish.

Actual behavior

The table shown in the TYPO3 backend is empty.

My browsers debug console shows a "500 - internal server error".

Diving into that error shows: Doctrine AbstractMySQLDriver throws an InvalidFieldNameException because "sys_file" has no column "t3ver_wsid".
Which is true.

Some thougths

I don't know if that's an issue of the Workspace extension or an issue of the Form extension.

Some frames prior to the InvalidFieldNameException being thrown, this very code is executed:
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/workspaces/Classes/Dependency/ElementEntity.php#L418

As shown, the workspace ElementEntity::getRecord() method always asks for t3ver field, no matter if the record in question is actually workspaceable.

Regards,
Stephan

Actions #1

Updated by Benni Mack 11 months ago

  • Sprint Focus set to Stabilization Sprint
Actions #2

Updated by Tomek W 10 months ago

I'm unable to reproduce it on main branch

Actions #3

Updated by Riccardo De Contardi 10 months ago

I am unable to reproduce this issue on version 10.4.37, 11.5.28, 12.4.2 and latest main

Actions #4

Updated by Benni Mack 7 months ago

  • Status changed from New to Needs Feedback
Actions #5

Updated by Riccardo De Contardi 3 months ago

  • Status changed from Needs Feedback to Closed

No feedback within 90 days > I close this issue.

If you think that this is the wrong decision or experience the issue again, please reopen it or open a new issue with a reference to this one.

Thank you.

Actions

Also available in: Atom PDF