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

Create command to remove existing account #9

Closed
visay opened this issue Jul 17, 2013 · 4 comments
Closed

Create command to remove existing account #9

visay opened this issue Jul 17, 2013 · 4 comments
Assignees
Milestone

Comments

@visay
Copy link
Owner

visay commented Jul 17, 2013

No description provided.

@visay
Copy link
Owner Author

visay commented Jul 17, 2013

Pushing to master with 460c177

How to use:

./flow account:remove visay    
Are you sure you want to remove account "visay"? (Y/n): Y
Account "visay" has been removed.

Please test and close the issue if it is working fine for you.

@ghost ghost assigned chanthornngeth and visay Jul 17, 2013
@chanthornngeth
Copy link
Collaborator

Hi Bong,

There is still a bug, I have tested it's work when the account of this user not yet suggest the topics or have other action on the system like vote, suggest, .....

I have tried to remove my own account I got error:
./flow account:remove chanthorn
Are you sure you want to remove account "chanthorn"? (Y/n): Y
Uncaught Exception
An exception occurred while executing 'DELETE FROM
typo3_party_domain_model_abstractparty WHERE
persistence_object_identifier = ?' with params
["bf0b6494-2d83-7fe0-c423-72207b93dafc"]:

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or
update a parent row: a foreign key constraint fails
(local_training.chantrea_training_domain_model_topic_voteusers_join,
CONSTRAINT FK_15E193FB8209910A FOREIGN KEY (training_user) REFERENCES
chantrea_training_domain_model_user (`persis)

More Information
Exception code #0
File /home/chanthorn/workspace/Training/Packages/Libraries/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php line 47

@visay
Copy link
Owner Author

visay commented Jul 17, 2013

Added an exception for that. Please test again 0f8dea2

@ghost ghost assigned chanthornngeth Jul 17, 2013
@chanthornngeth
Copy link
Collaborator

Hi bong,

I work fine, good job.

@ghost ghost assigned visay Jul 17, 2013
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