Bug #59795
Publishing throws exception
Status: | Closed | Start date: | 2014-06-22 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
Simply delete a Textelement and hit Publish (NOT Publish All).
See: https://www.dropbox.com/s/swkisnmqp4f815y/CommunicationErrorOnPublish.mov
See: Exception attached.
History
#1 Updated by Carsten Bleicker about 1 year ago
As far as i know this should be mapped into an array holding mapped nodes, right?
@param array<\TYPO3\TYPO3CR\Domain\Model\NodeInterface> $nodes
Packages/Application/TYPO3.Neos/Classes/TYPO3/Neos/Service/Controller/WorkspaceController.php:98
But its holding an array with the contextPath.
#2 Updated by Carsten Bleicker about 1 year ago
Tried to use
@param ArrayCollection<\TYPO3\TYPO3CR\Domain\Model\NodeInterface> $nodes
With this the publishing works.
Problem is, that the \TYPO3\TYPO3CR\Service\PublishingServiceInterface::publishNodes expects an array and not a collection.
Its annotated as @api wich means, changing this will be a breaking change, i think.
So what should i do? Patching all the interface stuff to collection or
changing the array converter to reflect the target type of <\TYPO3\TYPO3CR\Domain\Model\NodeInterface>?
#3 Updated by Carsten Bleicker about 1 year ago
See my comment on:
[[https://review.typo3.org/#/c/19567/]]
#4 Updated by Christopher Hlubek about 1 year ago
We have to check if this only occurs if content dimensions are enabled, I could not yet reproduce it with the default demo site (without content dimensions). Will try to do that soon.
#5 Updated by Carsten Bleicker about 1 year ago
happens to me also on demo site.
#6 Updated by Philipp Hanebrink 10 months ago
- Assigned To set to Philipp Hanebrink
#7 Updated by Philipp Hanebrink 10 months ago
- Status changed from New to Closed
- Assigned To deleted (
Philipp Hanebrink)
Moved to Jira: https://jira.typo3.org/browse/NEOS-460