From wiki.ginstr.com
Jump to: navigation, search
Line 12: Line 12:
 
It is strictly forbidden to use one resource in two different places of an app. In this case 2 different resources must be implemented.
 
It is strictly forbidden to use one resource in two different places of an app. In this case 2 different resources must be implemented.
  
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_INVALID_USERNAME, 1001);
+
 
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_DISABLED_USER, 1003);
+
{| class="wikitable sortable" style="font-size: 85%; text-align: left;"
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_IO_EXCEPTION, 1004);
+
|-
        msgBoxCodes.put(AgConstants.MSG_BOX_SERIAL_IMEI_MISSING, 1005);
+
! scope="col" | Attribute
        msgBoxCodes.put(AgConstants.MSG_BOX_REPLICATION_PUSH_DISABLED, 1006);
+
! scope="col" | Description
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_PASSWORD_EXPIRED, 1007);
+
|-
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_AT_LEAST_ONE_LOGIN, 1008);
+
| title="Attribute" | <code>1001</code>
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_GINSTR_SERVERS_UNAVAILABLE, 109);
+
| title="Description" | <code>@string/$msgBoxInvalidUserName</code>
        msgBoxCodes.put(AgConstants.MSG_BOX_MISSING_ROLE, 1010);
+
|-
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_NO_RESPONSE_SERVER, 1011);
+
| title="Attribute" | <code>1003</code>
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_BAD_USER, 1012);
+
| title="Description" | <code>@string/$msgBoxDisabledUserException</code>
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_BAD_USER_SSO, 1013);
+
|-
        msgBoxCodes.put(AgConstants.MSG_BOX_LOGIN_NOTACTIVATED_USER, 1015);
+
| title="Attribute" | <code>1004</code>
        msgBoxCodes.put(AgConstants.MSG_BOX_APP_NOT_ENABLED_FOR_USER,1016);
+
| title="Description" | <code>@string/$msgBoxLoginIoException</code>
 +
|-
 +
| title="Attribute" | <code>1005</code>
 +
| title="Description" | <code>@string/$msgBoxSerialImeiMissing</code>
 +
|-
 +
| title="Attribute" | <code>1006</code>
 +
| title="Description" | <code>@string/$msgBoxErrorReplicationPushDisabled</code>
 +
|-
 +
| title="Attribute" | <code>1007</code>
 +
| title="Description" | <code>@string/$msgBoxLoginPasswordExpired</code>
 +
|-
 +
| title="Attribute" | <code>1008</code>
 +
| title="Description" | <code>@string/$msgBoxAtLeastOneLogin</code>
 +
|-
 +
| title="Attribute" | <code>1009</code>
 +
| title="Description" | <code>@string/$msgBoxGinstrServersUnavailable</code>
 +
|-
 +
| title="Attribute" | <code>1010</code>
 +
| title="Description" | <code>@string/$msgBoxMissingRole</code>
 +
|-
 +
| title="Attribute" | <code>1011</code>
 +
| title="Description" | <code>@string/$msgBoxLoginNoResponseServer</code>
 +
|-
 +
| title="Attribute" | <code>1012</code>
 +
| title="Description" | <code>@string/$msgBoxLoginBadUser</code>
 +
|-
 +
| title="Attribute" | <code>1013</code>
 +
| title="Description" | <code>@string/$msgBoxLoginBadUserSso</code>
 +
|-
 +
| title="Attribute" | <code>1015</code>
 +
| title="Description" | <code>@string/$msgBoxNotActivatedUserException</code>
 +
|-
 +
| title="Attribute" | <code>1016</code>
 +
| title="Description" | <code>@string/$msgBoxAppNotEnabledForUser</code>
 +
|}

Revision as of 12:29, 18 May 2020

Contents

Launcher error codes

This document describes ginstr launcher error codes.

Definitions

${pageName}
defined by android:id attribute of the root screen element, NOT by fileName of file which contains widgets
${widgetName}
defined by ginstr app developer or in case of app-composer auto generated

It is strictly forbidden to use one resource in two different places of an app. In this case 2 different resources must be implemented.


Attribute Description
1001 @string/$msgBoxInvalidUserName
1003 @string/$msgBoxDisabledUserException
1004 @string/$msgBoxLoginIoException
1005 @string/$msgBoxSerialImeiMissing
1006 @string/$msgBoxErrorReplicationPushDisabled
1007 @string/$msgBoxLoginPasswordExpired
1008 @string/$msgBoxAtLeastOneLogin
1009 @string/$msgBoxGinstrServersUnavailable
1010 @string/$msgBoxMissingRole
1011 @string/$msgBoxLoginNoResponseServer
1012 @string/$msgBoxLoginBadUser
1013 @string/$msgBoxLoginBadUserSso
1015 @string/$msgBoxNotActivatedUserException
1016 @string/$msgBoxAppNotEnabledForUser