Coder Social home page Coder Social logo

Comments (3)

sebastian-meyer avatar sebastian-meyer commented on July 3, 2024 1

Closed this, because while it is true, that uid and location are no longer properties of Doc class, this is an intentional change. Those properties were moved to DocumentRepository and can be accessed there.

from kitodo-presentation.

csidirop avatar csidirop commented on July 3, 2024

Btw.: I went back till 6074cdf from Mar. 2022 and the variable (and some more) is still empty. So maybe its since the Extbase/Fluid transition.

from kitodo-presentation.

csidirop avatar csidirop commented on July 3, 2024

As I have suspected, this issue appears after the Extbase/fluid transition ce36746 .

I digged a bit deeper. Prior to v4.x the construct function of Document set the $uid var up. With v4.x the code moved to individual functions (one of those init($location)).
Furthermore the $location parameter of the construct function in Doc was in every test empty.

Then I realized that somehow I missed, that there is no $uid var any more in v.4.x even though a var_dump of the document object has it (even if its null) and its still referenced in the code (btw. adding type declarations would stop at those points).

from kitodo-presentation.

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.