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

BUG: ./flow user:setpassword throws SessionNotStartedException #3952

Closed
1 task done
TheLalaMan opened this issue Nov 8, 2022 · 2 comments
Closed
1 task done

BUG: ./flow user:setpassword throws SessionNotStartedException #3952

TheLalaMan opened this issue Nov 8, 2022 · 2 comments
Labels

Comments

@TheLalaMan
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Executing ./flow user:setpassword username password throws the following error:

$ ./flow user:setpassword admin admin
Tried to retrieve the session identifier, but the session has not been started yet.)

  Type: Neos\Flow\Session\Exception\SessionNotStartedException
  Code: 1351171517
  File: /.../Cache/Code/Flow_Object_Classes/Neos_Fl
        ow_Session_Session.php
  Line: 401

Exception backtrace:

Exception #1351171517 in line 852 of /.../Cache/Code/Flow_Object_Classes/Neos_Neos_Domain_Service_UserService.php: Tried to retrieve the session identifier, but the session has not been started yet.)

13 Neos\Flow\Session\Session_Original::getId()
12 Neos\Neos\Domain\Service\UserService_Original::destroyActiveSessionsForUser(Neos\Neos\Domain\Model\User, true)
11 Neos\Neos\Domain\Service\UserService_Original::setUserPassword(Neos\Neos\Domain\Model\User, "admin")
10 Neos\Neos\Command\UserCommandController_Original::setPasswordCommand("admin", "admin", NULL)
9 Neos\Flow\Cli\CommandController_Original::callCommandMethod()
8 Neos\Flow\Cli\CommandController_Original::processRequest(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
7 Neos\Flow\Cli\Dispatcher_Original::dispatch(Neos\Flow\Cli\Request, Neos\Flow\Cli\Response)
6 Neos\Flow\Cli\CommandRequestHandler::Neos\Flow\Cli\{closure}()
5 Closure::__invoke()
4 Neos\Flow\Security\Context_Original::withoutAuthorizationChecks(Closure)
3 Neos\Flow\Cli\CommandRequestHandler::handleRequest()
2 Neos\Flow\Core\Bootstrap::run()
1 require("/var/www/html/Packages/Framework/Neos.Flow/Scripts/flow.php")

Expected Behavior

The error above should not happen ;-)

Steps To Reproduce

No response

Environment

- Flow: 7.3.9
- Neos 7.3.10
- PHP: 8.1.11

Anything else?

/cc @kitsunet

@TheLalaMan TheLalaMan added the Bug label Nov 8, 2022
@sorenmalling sorenmalling transferred this issue from neos/flow-development-collection Nov 8, 2022
@bwaidelich bwaidelich self-assigned this Nov 8, 2022
@bwaidelich
Copy link
Member

bwaidelich commented Nov 8, 2022

I assume that this is related to #3707

@bwaidelich
Copy link
Member

See potential fix: #3953

@bwaidelich bwaidelich removed their assignment Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants