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

Issue with bommel moving #199

Open
byte-sized-emi opened this issue Dec 16, 2024 · 2 comments
Open

Issue with bommel moving #199

byte-sized-emi opened this issue Dec 16, 2024 · 2 comments
Assignees
Labels
backend bug Something isn't working

Comments

@byte-sized-emi
Copy link
Contributor

(Reported by @kzamurnyak )

Request:

PUT http://localhost:8080/bommel/move/21/to/2

Response: 500 Internal server error

Data before:

Root: {"id":2,"name":"root","emoji":"","responsibleMember":null,"parent":null}

Children:

[
    {
        "bommel": {
            "id": 3,
            "name": "3",
            "emoji": "heart_eyes",
            "responsibleMember": null,
            "parent": {
                "id": 2,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            3
        ]
    },
    {
        "bommel": {
            "id": 4,
            "name": "4",
            "emoji": "neutral_face",
            "responsibleMember": null,
            "parent": {
                "id": 2,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            4
        ]
    },
    {
        "bommel": {
            "id": 7,
            "name": "7",
            "emoji": "calling",
            "responsibleMember": null,
            "parent": {
                "id": 2,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            7
        ]
    },
    {
        "bommel": {
            "id": 20,
            "name": "20",
            "emoji": "",
            "responsibleMember": null,
            "parent": {
                "id": 2,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            20
        ]
    },
    {
        "bommel": {
            "id": 19,
            "name": "19",
            "emoji": "",
            "responsibleMember": null,
            "parent": {
                "id": 20,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            20,
            19
        ]
    },
    {
        "bommel": {
            "id": 21,
            "name": "21",
            "emoji": "",
            "responsibleMember": null,
            "parent": {
                "id": 20,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            20,
            21
        ]
    },
    {
        "bommel": {
            "id": 10,
            "name": "10",
            "emoji": "yum",
            "responsibleMember": null,
            "parent": {
                "id": 21,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            20,
            21,
            10
        ]
    },
    {
        "bommel": {
            "id": 12,
            "name": "New item",
            "emoji": "",
            "responsibleMember": null,
            "parent": {
                "id": 10,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            20,
            21,
            10,
            12
        ]
    },
    {
        "bommel": {
            "id": 11,
            "name": "New item",
            "emoji": "",
            "responsibleMember": null,
            "parent": {
                "id": 12,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            20,
            21,
            10,
            12,
            11
        ]
    },
    {
        "bommel": {
            "id": 18,
            "name": "New item",
            "emoji": "",
            "responsibleMember": null,
            "parent": {
                "id": 12,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            20,
            21,
            10,
            12,
            18
        ]
    },
    {
        "bommel": {
            "id": 15,
            "name": "New item",
            "emoji": "",
            "responsibleMember": null,
            "parent": {
                "id": 11,
                "name": null,
                "emoji": null,
                "responsibleMember": null,
                "parent": null
            }
        },
        "cycleMark": false,
        "cyclePath": [
            2,
            20,
            21,
            10,
            12,
            11,
            15
        ]
    }
]
@byte-sized-emi byte-sized-emi added backend bug Something isn't working labels Dec 16, 2024
@byte-sized-emi byte-sized-emi self-assigned this Dec 16, 2024
@byte-sized-emi
Copy link
Contributor Author

@kzamurnyak can you please post the entire error output of the org service when this happens? Preferably as a text file so I don't have to scroll that much

@byte-sized-emi
Copy link
Contributor Author

Oh also, from the error that you posted in the slack I can see that that's not the same endpoint - you say you're using the move endpoint when the code fails in the insert bommel endpoint. could you make sure the details of the bug are correct? There is no way the move endpoint calls the createBommel method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant