Hi Stefan,

Authentication from the (in development) DSpace 7 Angular UI was
accidentally broken in a recent commit. My suspicion is that you may be
hitting this bug.  We have a fix that is in progress at:
https://github.com/DSpace/dspace-angular/pull/290  You are welcome to test
the fix and help provide feedback.

In any case, I expect this to be fixed in the latest codebase soon -- the
fix was just posted today and is just waiting on review(s).

- Tim

On Thu, Sep 20, 2018 at 1:49 AM Stefan Fritzsche <
[email protected]> wrote:

> Dear members,
>
> i use a docker container based on the node:8 image to create a test
> instance of dspace 7 and the angular app.  I start Angular with the call
>
> yarn start:dev
>
> When I login with the UI I get the following error message
>
> Cannot read property 'authenticated' of undefined
>
> With every call of the UI yarn gives the following error
>
> Error: The server returned an invalid object
>      at
> DSOResponseParsingService.BaseResponseParsingService.addToObjectCache
> (/angular-src/dist/server.js:65296:19)
>      at DSOResponseParsingService.BaseResponseParsingService.cache
> (/angular-src/dist/server.js:65291:18)
>      at DSOResponseParsingService.BaseResponseParsingService.process
> (/angular-src/dist/server.js:65236:22)
>      at DSOResponseParsingService.parse
> (/angular-src/dist/server.js:73213:38)
>      at MapSubscriber.project (/angular-src/dist/server.js:147350:234)
>      at MapSubscriber._next
> (/angular-src/node_modules/rxjs/operators/map.js:79:35)
>      at MapSubscriber.Subscriber.next
> (/angular-src/node_modules/rxjs/Subscriber.js:90:18)
>      at CatchSubscriber.Subscriber._next
> (/angular-src/node_modules/rxjs/Subscriber.js:126:26)
>      at CatchSubscriber.Subscriber.next
> (/angular-src/node_modules/rxjs/Subscriber.js:90:18)
>      at MapSubscriber._next
> (/angular-src/node_modules/rxjs/operators/map.js:85:26)
>
>
> The configuration file of the angular app environment.dev.js:
>
> module.exports = {
>    // Angular Universal server settings.
>    ui: {
>      ssl: false,
>      host: '0.0.0.0',
>      port: 3000,
>      // NOTE: Space is capitalized because 'namespace' is a reserved
> string in TypeScript
>      nameSpace: '/'
>    },
>    // The REST API server settings.
>    rest: {
>      ssl: false,
>      host: 'localhost',
>      port: 8080,
>      // NOTE: Space is capitalized because 'namespace' is a reserved
> string in TypeScript
>      nameSpace: '/spring-rest/api'
>    },
> ...
>
> I would be grateful if you could tell me what caused the error.
>
> Regards
>
> --
> Stefan Fritzsche
> Fachinformatiker/digitale Archivierung
>
> Technische Universität Dresden
> Zentrum für Informationsdienste und Hochleistungsrechnen
> Abt: Operative Prozesse und Systeme
> 01062 Dresden
>
> Tel.: +49 351 463-33212 <+49%20351%2046333212>
> E-Mail: [email protected]
>
> --
> All messages to this mailing list should adhere to the DuraSpace Code of
> Conduct: https://duraspace.org/about/policies/code-of-conduct/
> ---
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to