Introduction

KB001589 is a list of high priority issues for K2 blackpearl 4.6.7 that have been resolved.

Issues Resolved

K2 Server

  • When deleting a group from Active Directory, the group is not disabled in the database.  This causes an error stating: "Failed to resolve 'K2:{Domain}\{Group}': The specified account does not exist. Resolving User:{Domain}\{Group}" in the K2 Host Server log file.
  • If SharePoint Alerts are set up to notify a user when changes are made on a SharePoint Document library or list and the Identity Service cycled through the SharePoint Security Labels using an account that an alert was set up for, if that account is not explicitly part of a Group membership on the SharePoint site, the alert gets deleted.
  • After deleting an IPC parent process, duplicate child process records for the deleted parent process are created in the IPCAsync table.  Another issue is when a parent process is in error state, the IPCAsync table does not process child process threads.
  • When executing multiple instances of the ViewProcessInstance method, the K2Server stops processing with an error stating: "Null Object Reference".
  • Unauthenticated users are allowed to make changes to the K2 License from both K2 Workspace> Management Console> Licensing and K2 Process Portal.

K2 Designers and Wizards

  • After executing the Manage Permissions Action of a SharePoint User Management Event, editing the event in the K2 process and cancelling on the Manage Users and Groups page of the wizard, results in an error stating: "Cannot access a disposed object. Object name: 'K2Field'".
  • The Exchange event wizard no longer has fields to supply a specific mailbox database and Exchange server.  The field will now be available again but not required.
  • A timeout error occurs when attempting to configure a SharePoint Search Event in K2 Studio using a SharePoint list or library containing a large amount items.
  • After renaming a K2 Studio project, a "File not found" error occurs when attempting to reopen the project.
  • The Update Data Fields Inline Function is now only allowed in an E-mail Event body and not in a customized User Task notification.
  • An error occurs when finishing a SharePoint Workflow Integration Client event after renaming the Activity name.
  • An error occurs stating: "The Name property cannot be set to empty" when opening a kprx project in K2 Studio where the project is stored in a UNC path.

SharePoint Integration and InfoPath Integration

  • When running multiple instances of a K2 process containing a User Management Event, an error occurs stating: "Save Conflict Your changes conflict with those made concurrently by another user".
  • The SharePoint Workflow Integration action page clears a Persons or Group column on a SharePoint Document Library where the column allows for multiple entries.
  • When running an InfoPath integrated process containing an Inline Function to retrieve the name of a File Attachment on the InfoPath Form, an error occurs stating: "Object must implement IConvertible".
  • When renaming a SharePoint column on a List where a K2 SharePoint Integrated process exists on K2 blackpearl 4.6.4, upgrading to a later update and starting a new instance of the K2 process results in an error stating: "Server was unable to process request. ---> Error setting metadata fields - Fields do not match".
  • In a K2 Designer for SharePoint workflow that integrates with InfoPath and uses the replace() method in an inline function results in an error stating ""Object of type 'System.String[]' cannot be converted to type 'System.String'. " .
  • When running a K2 SharePoint integrated process on a SharePoint list or library where a multiple user column exists, supplying a username for the multiple user column results in the column being updated with the incorrect value.
  • When executing a SharePoint Search event with K2 for SharePoint process on a list with a large number of items, the process goes into error state with an error message similar to: "Attempted to make calls on more than one thread in single threaded mode".
  • When using the K2 Worklist Web part on a SharePoint subsite to redirect a worklist item, the item gets duplicated.  The item stays on the original user’s worklist and gets added to the redirected user’s worklist.
  • When exporting a SharePoint document, all the users and groups that exist in SharePoint are exported as well. On import, the same occurs and a connection is made to Active Directory to verify each of the users. This causes performance issues when a large number of users exist.
  • After installing the Microsoft Security Updates KB2687422 and KB2760406, an error occurs stating: "Reference to undefined entity 'nbsp'" when attempting to open a K2 InfoPath Integrated worklist item.
  • When deleting a SharePoint document using a Delete Document Wizard in a K2 process, where the name of the document contains an apostrophe, the process goes into an error state.
  • When using the "GetFileFromLocation" Inline function in a Workflow step to locate a SharePoint document, a "File could not be found" error occurs.
  • When the K2 Process Portal page was hosted in an iframe and a user tries to access worklist items and action them through batch actions, the worklist items are not actioned and the dialog doesn't close.
  • When assigning Process rights in either K2 Workspace or K2 Process Portal via a SharePoint Group, searching for users or group returns both SharePoint label and K2 label users.
  • When a K2 for SharePoint Integrated workflow is built via K2 Studio and deployed on another machine using MSBuild, the workflow fails to start from a HTTPS URL.
  • When running a K2 for SharePoint Integrated workflow to copy list items with attachments, the attachments are not copied.
  • When performing a document move via a SharePoint content field in which the SharePoint library has been renamed, the content field fileURL is not correctly set.
  • Setting a refresh interval for a K2 worklist web part results in the web part not being refreshed.

K2 Workspace and K2 Process Portals

  • When a process contains a destination user with View Participate rights on the process and the user does not participate in the workflow, the user can incorrectly still open the process View Flow.
  • When a process is running and a client event with a notification is renamed and deployed, notifications are not sent for the running instance of the process for the renamed events.
  • On a Kerberos environment, assigning permissions to a user on an Environment Library Template in K2 Workspace>Management Console, and then attempt to assign rights again as the user that now has rights on the environment, an error occurs stating: : "An error occurred while trying to save object rights. The object has either been removed from the Environment Library or you do not have permissions to modify this object."
  • When changing the Run As credentials for an event in K2 Workspace>K2 Management>Workflow Server Processes\[Project Name]> Process> Versions on a NLB Cluster environment,  an archive buffer overflow error occurs.
  • When using a dynamic SQL query to run the User Performance Report, the incorrect data returns.
  • When deleting a process or process version of a workflow from K2 Workspace, the entries in the associated Database Tables remain and cause a build-up in memory.

Installer

  • The K2 Host Server incorrectly gets removed from services after running the Repair option from the K2 Setup Manager in K2 blackpearl 4.6.7.
  • After upgrading from K2 blackpearl 4.6.5 to 4.6.7, an error occurs on the Analysis Tool stating: "The configuration variable [EXCHANGEPASS] could not be found. This could be due to an incomplete configuration or could not connect to the database to retrieve the configuration data."
  • After upgrading to the latest K2 blackpearl version, running process instances containing an IPC Event does not function correctly.

K2 SmartObjects and Services

  • An "Object reference not set to an instance of an object" error occurs when executing a Service Instance based SmartObject method after refreshing the Service Instance.
  • A timeout occurs when creating a SharePoint SmartObject based on either a SharePoint List or Library containing a large number of list items or documents.
  • When enabling a mailbox on a different domain than the Exchange server, an error occurs indicating that the Exchange server could not be contacted.
  • A timeout occurs when executing a SharePoint SmartObject based on either a SharePoint List or Library containing a large number of list items or documents
  • When executing a SmartObject List method using the ADO.NET provider, an error occurs indicating that the query is not supported.
  • When creating a SmartObject using either K2 Designer for Visual Studio or K2 Studio, a SQL Server Service table cannot be used as the Service Object in a Custom Method when the SQL table has a foreign key defined.
  • After upgrading to K2 blackpearl 4.6.7 with SmartObject Endpoint Services enabled and set as HTTPS, attempting to execute an endpoint results in an error stating: ""240552003","2013-07-31 13:35:36","Error","General","1","GeneralErrorMessage","SourceCode.Endpoint.Server.EndpointServer.LoadSharedEndpoints","1 The HttpGetEnabled property of ServiceMetadataBehavior is set to true and the HttpGetUrl property is a relative address, but there is no http base address. Either supply an http base address or set HttpGetUrl to an absolute address.","","","MTCDEVK2:C:\Program Files (x86)\K2 blackpearl\Host Server\Bin","240552003","1d464bd77f9f4071b9094086bca41b92","".
  • When resolving users on the Active Directory User Manager in a multi domain environment, the incorrect domain returns for the user. 
  • An error occurs stating: "Input string was not in the correct format" when executing a SQL SmartObject based on a table containing a column of type Float.  This occurs due to the column being mapped as a decimal value and then adding more than 4 decimals to the value of the column.
  • A timeout error occurs stating: "VALIDATION timeout expired" when refreshing, adding or editing a SQL Service Instance from K2 Workspace for a stored procedure with a large number of properties. 
  • An error occurs stating: "unable to deserialize value Building[]" when registering an EndPoints Web Service for the Salesforce enterprise WebService, and using an Account Serialization Service Object to deserialize a serialized list.
  • When assigning SmartObject method rights, such as the Create method, to a user for a specific SmartObject, the rights are not applied and the user can execute all methods for the SmartObject.
  • When a SmartObject Update method is executed with a parameter set to scnull, fields are not updated to a blank value.
  • After registering a new SharePoint Content Service Instance and creating a SmartObject based on the SharePoint Content Service Instance, executing the GetList method returns the incorrect number of items in the SharePoint list.
  • An exception occurs when performing a search using the GetUserDetails Method of the ADUser SmartObject and the sequence of characters "NULL" appears in caps in one of the input fields.
  • Changing the System Name of a Service Instance should not be allowed.
  • When using the picker control to resolve users using the AD Service 2, an error occurs and no users are returned.
  • When using the EndPoints WebService to return null values using a GetList method, the value from the previous row returns instead of the null value.
  • When adding a filter to a List View, mappings are lost and some of the columns are no longer populated.
  • An error occurs when trying to lookup items after changing the System Name of a Service Instance.
  • When a Many-to-Many relationship is defined between two SmartObjects, a new composite SmartObject must be created and one cannot specify an existing composite SmartObject.  A checkbox has been added to the SmartObject association Wizard, which allows the user to select an existing SmartObject (in all designers) when a many-to-many association is created between 2 SmartObjects.

API

  • After migrating a process to a newer version, the new datafields are not available on running instances of the process, due to the original process ID version being returned instead of the running process ID version.

Package and Deployment

  • An error occurs stating: "System.Reflection.TargetInvocationException: Value cannot be null. Parameter name: path2" when attempting to deploy a packaged K2 process containing a project reference.
  • An error occurs when attempting to create a K2 deployment package stating: "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters" when using double byte characters, such as Russian characters, in the naming of artifacts.
  • Attempting to rebind a Service Instance in Microsoft Management Console by right clicking Service Instance, selecting Configure>Use Existing, no Service Instances are returned.
  • Objects that can't be re-mapped will not display in the Microsoft Management Console when creating and deploying a package of the project.
  • When installing K2 Package and Deployment on a distributed environment, the Powershell Deployment snapin does not install when running the Client installation.
  • When adding a second K2 Server for K2 Package and Deployment using the Microsoft Management Console, the first K2 Server is overwritten.
  • When creating and deploying a package for a project using Package and Deployment, spaces are removed between fields in the body of e-mail messages.
  • Creating a package for a process containing an IPC Event with no Folio specified fails.  No error occurs, the package is not created.
  • A "Missing Reference" error when opening a package created via Package and Deployment.  This error occurs although all items are present.
  • Package and Deployment circular IPC Reference causes a StackOverflow error in K2HostServer.
  • A duplicate namespace error occurs when deploying a K2 process for the second time using Package and Deployment.  This occurs if the process contains an activity with an event and escalation with the same name.

General

  • When executing Out of the Box Reports from either K2 Workspace or K2 Process Portal, an error occurs stating: "An error has occurred during report processing. (rsProcessingAborted)".
  • Running a security scan on K2 software, results in certain parameters being susceptible to script injections.
  • An "Object reference not set to an instance of an object" error occurs when attempting to access View Flow from an external site.
  • ViewFlow does not open on a non-AD environment when using Microsoft Silverlight.
  • On replying to a SmartAction email with a command, and putting an external email address in the CC or BCC fields, the server fails to resolve the user and due to the SuccessRequired parameter being passed as True for CC or BCC.