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

Plot group doesn't delete from SQL DB correctly. #7592

Closed
Alienn-Know opened this issue Sep 11, 2024 · 5 comments · Fixed by #7605
Closed

Plot group doesn't delete from SQL DB correctly. #7592

Alienn-Know opened this issue Sep 11, 2024 · 5 comments · Fixed by #7605
Assignees
Milestone

Comments

@Alienn-Know
Copy link
Contributor

Alienn-Know commented Sep 11, 2024

What steps will reproduce the problem?

image
image
/stop - server
start -> server
then
image
and catch unhandeled error

probably because when delete a group it is not deleted from the database, then when start the server and initialize the plugin, incorrect objects of the PlotGroup class are created

What is the expected output?

probably this chunk go to group 1

Towny version

image
without any plugin modifications

Server version

image
without any core modifications

Please use Pastebin.com to link the following files

maybe it won't be needed here

image
image
image

then if you try to /plot group add 1 on another free territory (without a group or group), the same error occurs

added
I understood that when trying to add a new group that did not exist yet, this error occurs, when trying to add an existing group everything happens normally
added
I deleted all group in db and the error disappeared, and doesn't appear again

@LlmDl
Copy link
Member

LlmDl commented Sep 12, 2024

You did not include your startup log and so I don't know what database type you use

@LlmDl LlmDl added the Need Feedback Something is required of the submitter. Tickets will be closed after 14 days with no feedback. label Sep 12, 2024
@Alienn-Know
Copy link
Contributor Author

You did not include your startup log and so I don't know what database type you use

mysql

@Alienn-Know
Copy link
Contributor Author

2024-09-12-5.log

@LlmDl LlmDl added Completed and removed Need Feedback Something is required of the submitter. Tickets will be closed after 14 days with no feedback. labels Sep 19, 2024
@LlmDl LlmDl self-assigned this Sep 19, 2024
@LlmDl LlmDl added this to the 0.100.5.0 milestone Sep 19, 2024
@LlmDl LlmDl changed the title change chunk group Plot group doesn't delete from SQL DB correctly. Sep 19, 2024
LlmDl added a commit that referenced this issue Sep 19, 2024
@Alienn-Know
Copy link
Contributor Author

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

Successfully merging a pull request may close this issue.

2 participants