neos / neos-setup

Custom neos/setup steps and configuration for Neos CMS
GNU General Public License v3.0
1 stars 3 forks source link

BUG: HTTP ERROR 500 in neos/setup after login #11

Closed crydotsnake closed 1 year ago

crydotsnake commented 1 year ago

Description

After access the neos/setup login with the password as usual, the browser throws a HTTP Error 500 message.

Demo

neos-setup

Steps to reproduce

  1. Install the neos/base-distribution with composer: composer create-project neos/neos-base-distribution neos-example
  2. start development server: ´./flow server:run`
  3. go to: 127.0.0.1:8081
  4. Login in the setup tool.

Environment

Anything else?

Tested with the following browsers:

bwaidelich commented 1 year ago

Could you please check the error and exception logs and share them?

crydotsnake commented 1 year ago

Log files:

20230430203717f91e70.txt 202304302037146cf9c6.txt 2023043020371713c574.txt 20230430203714908382.txt 20230430203722348328.txt

kitsunet commented 1 year ago

This is the result of misusing Account in the the setup and exposed through this fix: https://github.com/neos/flow-development-collection/pull/2700

The problem is that the respective Account object that we create for our login can not be validated as new (or not) because no database even exists to check against. We shouldn't be using the account entity here to begin with. A fix for now probably needs to be a hack and then we can properly fix this once we decoupled account (with an interface) and have a non entity option to carry the roles.

crydotsnake commented 1 year ago

I could also reproduce it with Neos 7.3