<!-- 
RSS generated by JIRA (8.1.3#801003-sha1:6b6f07cffadda9a0d6efe24639daed8ce94dcdd6) at Sat Feb 10 05:51:33 GMT 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Rivet Logic Corporation JIRA </title>
    <link>https://issues.rivetlogic.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.1.3</version>
        <build-number>801003</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[CMA-45] Optional parameter is actually required in WorkflowService.endTask</title>
                <link>https://issues.rivetlogic.com/browse/CMA-45</link>
                <project id="10015" key="CMA">Remote Alfresco API rivet</project>
                    <description>Acording to javadocs @ &lt;a href=&quot;http://docs.rivetlogic.com/projects/raar/current/javadocs/com/rivetlogic/core/cma/api/WorkflowService.html,&quot;&gt;http://docs.rivetlogic.com/projects/raar/current/javadocs/com/rivetlogic/core/cma/api/WorkflowService.html,&lt;/a&gt; the parameter transitionId in endTask is optional (i.e. it can be null, meaning that the default transition should be taken).&lt;br/&gt;
&lt;br/&gt;
But the actual implementation @ &lt;a href=&quot;https://svn.rivetlogic.org/repos/rivets/core/cma/cma/trunk/modules/cma-impl/src/main/java/com/rivetlogic/core/cma/impl/WorkflowServiceImpl.java&quot;&gt;https://svn.rivetlogic.org/repos/rivets/core/cma/cma/trunk/modules/cma-impl/src/main/java/com/rivetlogic/core/cma/impl/WorkflowServiceImpl.java&lt;/a&gt; checks that parameter as required (line 172): &lt;br/&gt;
&lt;br/&gt;
	public WorkflowTask endTask(Ticket ticket, String taskId,&lt;br/&gt;
			String transitionId) throws InvalidTicketException,&lt;br/&gt;
			CmaRuntimeException {&lt;br/&gt;
		// check parameters&lt;br/&gt;
		ParameterCheck.mandatory(&amp;quot;ticket&amp;quot;, ticket);&lt;br/&gt;
		ParameterCheck.mandatoryString(&amp;quot;taskId&amp;quot;, taskId);&lt;br/&gt;
-----&amp;gt;&amp;gt;&amp;gt;&amp;gt;ParameterCheck.mandatoryString(&amp;quot;transitionId&amp;quot;, transitionId);&lt;br/&gt;
&lt;br/&gt;
		String methodName = CmaConstants.METHOD_WORKFLOW_ENDTASK;&lt;br/&gt;
		// create parameters&lt;br/&gt;
		Vector&amp;lt;NameValuePair&amp;gt; parameters = createGeneralParameters(ticket, methodName);&lt;br/&gt;
		parameters.add(new NameValuePair(CmaConstants.PARAM_TASKID, taskId));&lt;br/&gt;
		parameters.add(new NameValuePair(CmaConstants.PARAM_TRANSITIONID, transitionId));&lt;br/&gt;
		parameters.add(new NameValuePair(CmaConstants.PARAM_USETRANSACTION, true));&lt;br/&gt;
&lt;br/&gt;
		return (WorkflowTask) execute(ticket, methodName, parameters);&lt;br/&gt;
	}&lt;br/&gt;
&lt;br/&gt;
As a result of this, we cannot invoke the default transition when ending a task.</description>
                <environment></environment>
        <key id="16032">CMA-45</key>
            <summary>Optional parameter is actually required in WorkflowService.endTask</summary>
                <type id="1" iconUrl="https://issues.rivetlogic.com/secure/viewavatar?size=xsmall&amp;avatarId=11083&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://issues.rivetlogic.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="6" iconUrl="https://issues.rivetlogic.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="sumer">sumer</assignee>
                                    <reporter username="nacho@imaginaworks.com">nacho@imaginaworks.com</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Aug 2009 11:35:31 -0400</created>
                <updated>Fri, 21 May 2010 12:49:35 -0400</updated>
                            <resolved>Wed, 19 May 2010 13:50:32 -0400</resolved>
                                    <version>1.10.0</version>
                                    <fixVersion>3.2.0-E-0</fixVersion>
                                    <component>CMA Impl</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                        <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_11470" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_11170" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00aen:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10070" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1687</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>