campsych / concerto-platform

Concerto Platform - Open-Source Online Adaptive Testing Platform
https://concertoplatform.com/
Apache License 2.0
153 stars 88 forks source link

Unable to create Authenticate Page #340

Open divitto1 opened 3 years ago

divitto1 commented 3 years ago

Concerto Platform version

v5.0.25

Expected behavior

Follow guide to create and load authentication page

Actual behavior

Receiving execution halted error

Steps to reproduce the issue

Follow this guide to create authentication page.

https://github.com/campsych/concerto-platform/wiki/Authenticate-Users

Note that for step 10, there is no "linearTest" node so the "assessment" node was used in its place.

I enabled debug mode and can see this mapping error listed in the Doctrine tab.

"Concerto\APIBundle\Entity\Client The field Concerto\APIBundle\Entity\Client#accessTokens is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity Concerto\APIBundle\Entity\AccessToken#client does not contain the required 'inversedBy="accessTokens"' attribute."

I'm completely new to Concerto so not sure of the relevance of this error or how to correct the error. Any help from the community is greatly appreciated.

Thanks! Marco

divitto1 commented 3 years ago

To make matters worse, I'm now getting a new error for unknown reasons and I can't edit any content.

Validation failed Content modification is temporary blocked. Try again later.

divitto1 commented 3 years ago

We were able to resolve the first issue surrounding the authentication page. The second problem seems to stem from the fact that content imports are not completing. We can submit import tasks but they don't seem to execute and complete for some reason.

vesspopov commented 2 years ago

Hi Divitto, regarding the authenticate users tutorial - can you confirm that it is still correct? i.e. did you resolve the issue by following the steps, or you needed to do something else?

And are you importing content one object at a time, or using the file import in Administration Tab -> Content? Generally, imports are done as a scheduled task in the background so once completed you'll need to refresh to see the imported content.