Skip to content

[WIP] Fix Hyper calling processState instead of announce in ColdBox 8 - #27

Closed
lmajano with Copilot wants to merge 1 commit into
developmentfrom
copilot/fix-hyper-processstate-removal
Closed

lmajano with Copilot wants to merge 1 commit into
developmentfrom
copilot/fix-hyper-processstate-removal

Conversation

Copilot AI commented Oct 12, 2026

Copy link
Copy Markdown

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>Hyper calling processState() (which is now removed in Coldbox 8) instead of announce()</issue_title>
<issue_description>Title: Hyper 7.5.3 incompatible with ColdBox 8 - processState() method not found

Module: Hyper (bundled with cbSSO 2.0.0+14)

ColdBox Version: 8.0.0

Hyper Version: 7.5.3

Description:

When using cbSSO with Google OAuth on ColdBox 8, the OAuth token exchange fails with the following error:

Component [coldbox.system.web.services.InterceptorService] has no function with name [processState]
Root Cause:

In ColdBox 8, the InterceptorService.processState() method was renamed to announce(). However, Hyper 7.5.3 still calls the old processState() method, causing the error.

I see in Coldbox 7 the following -

/**

  • @deprecated please use announce() instead
    */
    public any function processState(
    required any state,
    any interceptData = structNew(),
    boolean async = false,
    boolean asyncAll = false,
    boolean asyncAllJoin = true,
    string asyncPriority = "NORMAL",
    numeric asyncJoinTimeout = 0
    ){
    arguments.data = arguments.interceptData;
    return announce( argumentCollection = arguments );
    }

Suggested Fix:

Update Hyper to use announce() instead of processState() for ColdBox 8+ compatibility, or add backward compatibility check:

if( structKeyExists(variables.interceptorService, "announce") ) {
variables.interceptorService.announce( ... );
} else {
variables.interceptorService.processState( ... );
}

I also see a newer version of hyper. Thinking updating that would fix as well?</issue_description>

Comments on the Issue (you are @copilot in this section)

@elpete This is fixed in Hyper 8+

On Fri, Jan 9, 2026 at 7:44 PM Irvin Wilson @.***>
wrote:

irvirv created an issue (#12)
#12

Title: Hyper 7.5.3 incompatible with ColdBox 8 - processState() method not
found

Module: Hyper (bundled with cbSSO 2.0.0+14)

ColdBox Version: 8.0.0

Hyper Version: 7.5.3

Description:

When using cbSSO with Google OAuth on ColdBox 8, the OAuth token exchange
fails with the following error:

Component [coldbox.system.web.services.InterceptorService] has no function
with name [processState]
Root Cause:

In ColdBox 8, the InterceptorService.processState() method was renamed to
announce(). However, Hyper 7.5.3 still calls the old processState() method,
causing the error.

I see in Coldbox 7 the following -

/**

  • @deprecated https://github.com/deprecated please use announce()
    instead
    */
    public any function processState(
    required any state,
    any interceptData = structNew(),
    boolean async = false,
    boolean asyncAll = false,
    boolean asyncAllJoin = true,
    string asyncPriority = "NORMAL",
    numeric asyncJoinTimeout = 0
    ){
    arguments.data = arguments.interceptData;
    return announce( argumentCollection = arguments );
    }

Suggested Fix:

Update Hyper to use announce() instead of processState() for ColdBox 8+
compatibility, or add backward compatibility check:

if( structKeyExists(variables.interceptorService, "announce") ) {
variables.interceptorService.announce( ... );
} else {
variables.interceptorService.processState( ... );
}

I also see a newer version of hyper. Thinking updating that would fix as
well?

—
Reply to this email directly, view it on GitHub
#12, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATWYXS33Q4APE23CT6N3Q34GBRO3AVCNFSM6AAAAACRH3QCA6VHI2DSMVQWIX3LMV43ASLTON2WKOZTG44TQOJZGUYDGNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

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

Successfully merging this pull request may close these issues.

Hyper calling processState() (which is now removed in Coldbox 8) instead of announce()

2 participants