GithubHelp home page GithubHelp logo

Comments (10)

alexander-schranz avatar alexander-schranz commented on June 8, 2024

@flogado Thx for the report can you share the output of composer info?

from sulu.

 avatar commented on June 8, 2024

Unfortunately, I am not allowed to share the dependencies and versions used by the project.

Do you have any specific dependencies in mind that need to be checked?

from sulu.

alexander-schranz avatar alexander-schranz commented on June 8, 2024

@flogado

composer info | grep jackalope
composer info | grep cache
composer info | grep phpcr

from sulu.

alexander-schranz avatar alexander-schranz commented on June 8, 2024

@flogado Can you give jackalope/jackalope-doctrine-dbal#447 a try?

from sulu.

 avatar commented on June 8, 2024

That's exactly what I tried to do. But then the next error appears.

Cache key "nodetypes__a_1_{i_0;s_15_"nt_unstructured";}" contains reserved characters "{}()/\@:"

If we replace all reserved characters:

        $this->keySanitizer = static function ($cacheKey) {
            return str_replace(
                [' ', ':', '{', '}', '(', ')', '.', '@', '/', '"', '\\'],
                ['_', '|', '[', ']', '[', ']', '|', 'a', '|', '\'', '|'],
                $cacheKey
            );
        };

this error appears:

Jackalope\Transport\DoctrineDBAL\CachedClient::getNode(): Return value must be of type stdClass, null returned 

from sulu.

alexander-schranz avatar alexander-schranz commented on June 8, 2024

And only happening when the Cache is active? For dev where no cache is active no error is happening?

from sulu.

 avatar commented on June 8, 2024

Yes, there are no problems in the dev environment.

from sulu.

alexander-schranz avatar alexander-schranz commented on June 8, 2024

I did some changes on the CachedClient::get can you check if that fixes also the issue for you: jackalope/jackalope-doctrine-dbal#447

from sulu.

alexander-schranz avatar alexander-schranz commented on June 8, 2024

This was fixed in the latest jackalope doctrine dbal versions. Thx for the report @flogado

from sulu.

 avatar commented on June 8, 2024

It works for me. Thank you very much.

from sulu.

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.