You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volodymyr Siedlecki (Jira)" <de...@myfaces.apache.org> on 2024/11/19 15:52:00 UTC
[jira] [Commented] (MYFACES-4692) Signature Test Failure for jakarta.faces.component.ActionSource
[ https://issues.apache.org/jira/browse/MYFACES-4692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899520#comment-17899520 ]
Volodymyr Siedlecki commented on MYFACES-4692:
----------------------------------------------
ActionSource2 also need two methods:
MethodExpression getActionExpression();
void setActionExpression(MethodExpression action);
Fixed in the PR already
> Signature Test Failure for jakarta.faces.component.ActionSource
> ---------------------------------------------------------------
>
> Key: MYFACES-4692
> URL: https://issues.apache.org/jira/browse/MYFACES-4692
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 4.1.0-RC3
> Reporter: Volodymyr Siedlecki
> Priority: Major
>
> TCK identified the following issue:
> {color:#1d1c1d}Missing Methods ---------------
> jakarta.faces.component.ActionSource: method public jakarta.{color}{color:#1d1c1d}el{color}{color:#1d1c1d}.MethodExpression jakarta.faces.component.ActionSource.getActionExpression()
> jakarta.faces.component.ActionSource: method public void jakarta.faces.component.ActionSource.setActionExpression(jakarta.{color}{color:#1d1c1d}el{color}{color:#1d1c1d}.MethodExpression)
> Added Methods -------------
> jakarta.faces.component.ActionSource: method public abstract jakarta.{color}{color:#1d1c1d}el{color}{color:#1d1c1d}.MethodExpression jakarta.faces.component.ActionSource.getActionExpression()
> jakarta.faces.component.ActionSource: method public abstract void jakarta.faces.component.ActionSource.setActionExpression(jakarta.{color}{color:#1d1c1d}el{color}{color:#1d1c1d}.MethodExpression){color}
> MyFaces provides an abstract method, while the official API provides a default implementation (which is not abstract).
> To comply with TCK and the javadoc (since it explicitly states a default implementation throws <code>UnsupportedOperationException</code>)
> See: [https://jakarta.ee/specifications/faces/4.1/apidocs/jakarta.faces/jakarta/faces/component/actionsource#setActionExpression(jakarta.el.MethodExpression)]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)