Fixing invalid role versions

Role migration during a CU update can fail if the role version is invalid. This failure usually occurs when you incorrectly manually edit the role version in the role file, which is highly discouraged. A warning message containing the details of failure indicates that the migration is unsuccessful. Before you can migrate role files successfully, you must fix the invalid role versions.

  1. Go to %LAWDIR%\persistdata\lawson\<Lawson Portal folder>\data\roles.
  2. Select and open the role file to be fixed.
  3. Specify the current version of Lawson Portal.
    For example, <ROLE id="role1.xml" version="10.1.0">.
  4. Save the file.
  5. In the Roles folder, trigger the migration by deleting the migratedversion file.
  6. Reload Infor Lawson.
  7. In the Role migration dialog box, perform the migration.
    Note: To ensure that the role version is updated to the latest version, you must check the role files again.