Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create Authenticate Page #340

Open
divitto1 opened this issue Sep 21, 2021 · 3 comments
Open

Unable to create Authenticate Page #340

divitto1 opened this issue Sep 21, 2021 · 3 comments

Comments

@divitto1
Copy link

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
Copy link
Author

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
Copy link
Author

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants