Code Monkey home page Code Monkey logo

Comments (3)

neos-bot avatar neos-bot commented on June 16, 2024

Comment created by @aertmann:

Probably due to the content element wrapping service..

from neos-development-collection.

neos-bot avatar neos-bot commented on June 16, 2024

Comment created by kerstin_gerull:

Hi,

I have the same issue but with content elements with existig markup.
When I add a content element with the plus (+) button on the "Existing Element" the spinner is never removed and the new content element is not displayed. (see Screenshot). There is no JS error or something else visible.
But the content element was added, when you reload the page you see it.

Edit: my neos version is 1.2.13.

Greetings Kerstin

from neos-development-collection.

neos-bot avatar neos-bot commented on June 16, 2024

Comment created by kerstin_gerull:

Hi again,

I have debugged a little.

The TS path was something like this:

"page<Test:Page>/body<TYPO3.TypoScript:Template>/content/main<TYPO3.Neos:PrimaryContent>/default<TYPO3.TypoScript:Matcher>/element<TYPO3.Neos:ContentCollection>/**meta/process/contentElementWrapping/expression<TYPO3.Neos:ContentElementWrapping>"

Like Aske said the ContentElementWrapping is attached here and it is not possible to remove it, because the backend would not work.

I ended up in the function "TYPO3\TypoScript\Core\Runtime -> evaluateInternal()".

There is an if clause which is checking if there is a meta process, which would be the contentElementWrapping.
But the $output is empty before and after, so the contentElementWrapping is not deleting the content.

Line 461: if (isset($typoScriptConfiguration['**meta']['process'])) {}

Because of this I was checking if the $output is empty before this and found the following lines.
The $evaluateObject is TRUE and the return of $tsObject->evaluate() ist NULL.

Line 442ff:
if ($evaluateObject) {
    $output = $tsObject->evaluate();
} else {...}

I could not go further, but maybe that is a start for someone else.

Greetings Kerstin

from neos-development-collection.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.