Skip to content

Conversation

@sovdeeth
Copy link
Member

@sovdeeth sovdeeth commented Sep 25, 2025

Problem

EffSort would silently fail when encountering a null value, leading to confusion about why the list wasn't being sorted.

Solution

Adds a runtime error when this occurs that explains what happens and what input returned null.

Testing Completed

Manual testing. Failing test will be fixed when #8195 is merged.

Supporting Information

Reported in skUnity discord.
image


Completes: none
Related: none

@sovdeeth sovdeeth requested a review from a team as a code owner September 25, 2025 19:36
@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Sep 25, 2025
@sovdeeth sovdeeth requested review from Burbulinis and cheeezburga and removed request for a team September 25, 2025 19:36
@skriptlang-automation skriptlang-automation bot added the needs reviews A PR that needs additional reviews label Sep 25, 2025
@sovdeeth sovdeeth moved this to In Review in 2.13 Releases Sep 25, 2025
@github-project-automation github-project-automation bot moved this from In Review to Awaiting Merge in 2.13 Releases Sep 30, 2025
@sovdeeth sovdeeth changed the base branch from dev/patch to dev/feature October 1, 2025 02:23
@sovdeeth sovdeeth requested a review from a team as a code owner October 1, 2025 02:23
@sovdeeth sovdeeth requested review from UnderscoreTud and removed request for a team October 1, 2025 02:23
@skriptlang-automation skriptlang-automation bot added feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. and removed needs reviews A PR that needs additional reviews labels Oct 1, 2025
@sovdeeth sovdeeth merged commit 3983fa7 into SkriptLang:dev/feature Oct 1, 2025
5 checks passed
@github-project-automation github-project-automation bot moved this from Awaiting Merge to Done - Awaiting Release in 2.13 Releases Oct 1, 2025
@skriptlang-automation skriptlang-automation bot added the completed The issue has been fully resolved and the change will be in the next Skript update. label Oct 1, 2025
@skriptlang-automation skriptlang-automation bot removed the feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. label Oct 1, 2025
@sovdeeth sovdeeth moved this from Done - Awaiting Release to Done - Released in 2.13 Releases Oct 15, 2025
erenkarakal pushed a commit to erenkarakal/Skript that referenced this pull request Nov 26, 2025
)

* Swap reset and delete errors in EffChange (SkriptLang#8177)

swap reset and delete errors

* Fix improper grammar in update block syntax (SkriptLang#8072)

Co-authored-by: sovdee <[email protected]>

* Fix Incorrect Variable Change Queue Processing (SkriptLang#8182)

Fix incorrect change processing order

* Change registerExpression() parameter name (SkriptLang#8180)

change parameter name

* Move EvtRealTime to main thread (SkriptLang#8185)

* Fix type-aware function parsing for functions with only optional arguments (SkriptLang#8189)

Account for functions with all optional parameters

* Properly parse exprsecs in function calls (SkriptLang#8199)

modify section context when parsing functions

* add runtime error when EffSort aborts due to null values.

* catch runtime errors
erenkarakal pushed a commit to erenkarakal/Skript that referenced this pull request Nov 26, 2025
)

* Swap reset and delete errors in EffChange (SkriptLang#8177)

swap reset and delete errors

* Fix improper grammar in update block syntax (SkriptLang#8072)

Co-authored-by: sovdee <[email protected]>

* Fix Incorrect Variable Change Queue Processing (SkriptLang#8182)

Fix incorrect change processing order

* Change registerExpression() parameter name (SkriptLang#8180)

change parameter name

* Move EvtRealTime to main thread (SkriptLang#8185)

* Fix type-aware function parsing for functions with only optional arguments (SkriptLang#8189)

Account for functions with all optional parameters

* Properly parse exprsecs in function calls (SkriptLang#8199)

modify section context when parsing functions

* add runtime error when EffSort aborts due to null values.

* catch runtime errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update.

Projects

Status: Done - Released

Development

Successfully merging this pull request may close these issues.

4 participants