Skip to content
This repository was archived by the owner on Mar 20, 2021. It is now read-only.
This repository was archived by the owner on Mar 20, 2021. It is now read-only.

Unable to save dynamic action with clientid #4395

Open
@smalltox

Description

@smalltox

Hi,

I've an heavy dynamic application in JSF 2.2 running on Wildfly 12.0 (single page web app) it's currently migrated from Jboss AS 7.0 .
I encounter a lot of messages : unable to save dynamic action with clientid.
It seems after debugging that the problem is coming from the class : StateContext method handleAddRemoveWithAutoPrune.

In my case ; struct.action = 'REMOVE' and firstIndex = -1 so it will add the component to the actionList and the map instead of not adding it. So the next JSF Ajax Function called will log the error message "unable to save dynamic action with clientid".
I've added some logging to see if my component was dynamically added to the actionList but it was not the case ; maybe it's because of my typical application.

With the correction, error messages dissappears and application seems ok.

Sorry, i've no use case to provide for the moment.

What do you think ?

Thanks,

if (firstIndex == -1) {
if (ComponentStruct.ADD.equals(struct.action)) {
actionList.add(struct);
componentMap.put(struct.clientId, component);
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions