lanedirt / OGameX

Open-source OGame redesign clone built with Laravel 11.x.
https://main.ogamex.dev
MIT License
59 stars 24 forks source link

[BUG] Colony Abandonment Not Functioning #459

Closed aDwCarrazzone closed 3 days ago

aDwCarrazzone commented 4 days ago

Describe the bug When attempting to abandon a colony its not being abandoned and the colony remains active.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to the Abandon/Rename page for a colony.
  2. Click the "Abandon Colony" button.
  3. Enter the correct account password in the prompt to confirm the action.
  4. Observe that no changes occur—the colony is not abandoned, and the interface remains unchanged.

Expected behavior After entering the correct password and confirming the abandonment, the colony should be removed from the player’s active colonies, and the player should receive confirmation of the action.

Screenshots image image

Additional context

lanedirt commented 3 days ago

Hi @aDwCarrazzone,

Thanks for the bug report. I just tried to reproduce this on my local environment with a new account but for me it works. Here is a screen recording showing what the happy path looks like: ScreenRecording2024-11-23at21 26 37-ezgif com-video-to-gif-converter

So unfortunately I cannot reproduce this locally. Do you see any errors in the JS console or can you try to debug the HTTP request from the network tab to see the internal error (on localhost)?

aDwCarrazzone commented 3 days ago

Well, i really don't know what happened before but i tried again and it worked.