magenta-aps / erms-export-ui-module

The Ui for the ERMS (alfresco) export module
MIT License
0 stars 1 forks source link

Checking of user input when filling out input fields #7

Closed andreaskring closed 7 years ago

andreaskring commented 7 years ago

The frontend should not allow text input longer than what is supported by the backend when a user is filling out form fields etc.

iamfrank commented 7 years ago

Which sizes of text input are supported by the backend?

andreaskring commented 7 years ago

The lengths of the text input fields can be seen in this file: https://github.com/magenta-aps/E-Ark-Alfresco-export-bridge/blob/master/db/exm_2016-08-26.sql

For example: in the CREATE TABLE Mappings section, it can be seen that the mapping "name" is of the type varchar(25), i.e. the maximum length is 25 characters. @iamfrank give me a call on Skype if you need further details.

iamfrank commented 7 years ago

Input constraints added in #18

andreaskring commented 7 years ago

This is fixed