validator warning message not right

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

validator warning message not right

#1

Postby xren » Tue Jun 17, 2014 3:34 pm

Hi,

I am using ebase 4.5.1 64 bit.

I have a text field with max length 64. When I input more than 64 char and save, the message box does not say: Field xxx has a maximum length of 64.

But it shows:

The page at xxxx (the server's name) says:

_______________

_______________

What is wrong? How can this be fixed?

Thanks,
Xiaoli
0 x

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

#2

Postby Hovik » Wed Jun 18, 2014 8:21 am

I can not explain this.

In my 4.5.1 system. if the field display type is text, I can not enter more than 64 characters (the cursor stops at position 65) so the problem doesn't arise. And if the display type is textArea, I can enter more characters but submitting the page gives me javascript popup with message:

_____________________________________________

Field xxx has a maximum length of 64
_____________________________________________


Several questions and suggestions:

1. Is this a clean installation or an upgrade from a previous version of Ebase?
2. What's the display type of thie field?
3. Please clear your browser cache and try again.
4. What .js files do you have in folder UfsServer\tomcat\webapps\ufs\javascript?
5. Can I have a screenshot of the popup message please? (email to support@ebasetech.com please).
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#3

Postby xren » Wed Jun 18, 2014 1:25 pm

1. Is this a clean installation or an upgrade from a previous version of Ebase?

It is a clean installation.

2. What's the display type of thie field?

textArea

3. Please clear your browser cache and try again.

Still the same

4. What .js files do you have in folder UfsServer\tomcat\webapps\ufs\javascript?

api451.js, calendar451.js, jquery.json-2.4.min.js, jquery-1.6.4.min.js, ufs451.js, ufsajax451.js, ufscleintapi451.js, ufsexapi451.js, ufsexapi451.js, vldt451.js.

BTW, I have external client script added on the page: jquery1.8 on the form. But it is the same for my dev server. it works fine. My dev server is 4.5.1 64 bit as well. (clean install)


5. Can I have a screenshot of the popup message please? (email to support@ebasetech.com please).

Please check your mail box for the screenshot

It is the message missing between the two lines: Field xxx has a maximum length of 64 .



Thanks,
Xiaoli
0 x

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

#4

Postby Hovik » Wed Jun 18, 2014 2:06 pm

1. What's the system default language (Ufs.defaultLanguage in UFSSetup.properties)?

2. What's the formatting language set within the designer (Tools -> System Preferences -> Internationalisation > Languages -> Properties). Is it en_CA?

3. Are you running the form in English?

4. Please run the form emailed to you and see if you get the validation message.
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#5

Postby xren » Wed Jun 18, 2014 3:26 pm

1. What's the system default language (Ufs.defaultLanguage in UFSSetup.properties)?

EN

2. What's the formatting language set within the designer (Tools -> System Preferences -> Internationalisation > Languages -> Properties). Is it en_CA?

en_ZA (same as my DEV server)

3. Are you running the form in English?

Yes

4. Please run the form emailed to you and see if you get the validation message.

The message is empty too.
0 x

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

#6

Postby Hovik » Thu Jun 19, 2014 7:38 am

1. Please check System text 505 (Tools -> System Texts Editor) -> English. Text 505 should be: Field '&&1' has a maximum length of &&2

2. I see you're running the form in Chrome. Please try it in other browsers and confirm if it has the same behaviour. In all cases, run the form from the browser (not using the designer), with url
http://chi-ebase/ufs/ufsmain?formid=MAX ... ANGUAGE=EN
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#7

Postby xren » Fri Jun 20, 2014 1:32 pm

Hi Hovik,

For some reason, all the text are empty for System texts?

How can this be imported?

Thank you,
Xiaoli
0 x

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

#8

Postby Hovik » Fri Jun 20, 2014 2:10 pm

I suspect you switched repository at some point and did not import the 15 export files supplied as part of the switch process.

I have emailed you the system texts export file.

Please also check and let me know if you are missing:
functions
languages
sample forms
system services
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#9

Postby xren » Mon Jun 23, 2014 1:30 pm

I imported the system texts. It works fine now.

functions - no functions
languages - EN is available and the choices for EN are there.
sample forms - No sample forms.
system services - No system services ( I imported logon service my self.)

I installed this clean. It is not switched from other version.

Could help to fix the missing parts?

Thanks,
Xiaoli
0 x

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

#10

Postby Hovik » Tue Jun 24, 2014 6:40 am

Hi Xiaoli,

As you know, the installer gives you an Apache Derby repository. This contains all the texts, languages, functions etc.
If you switch to another repository, you need to import all of these. Currently the exports are not shipped with the product. We supply them on request.
I am assuming that you switched the repository after the clean installation.
I am emailing you 15 export files, numbered 1 to 15. Please import them in that sequence. If you have made any changes to logon service then skip the corresponding import.

Regards,
Hovik
0 x

xren
Ebase User
Posts: 272
Joined: Fri Dec 14, 2012 2:55 pm
Location: Ottawa

#11

Postby xren » Tue Jun 24, 2014 1:09 pm

Hi Hovik,

I did change the repository from Derby to Oracle.

Thank you. I will import those files.

Xiaoli
0 x

Hovik
Moderator
Moderator
Posts: 184
Joined: Tue Sep 11, 2007 8:58 am

#12

Postby Hovik » Fri Jun 27, 2014 8:32 am

Thinking about this, I remembered the reason why these export files are not included anywhere.

The "Changing Repository Database" section of the documentation contains a section "Export existing content". If the suggested steps are followed then the new repository will contain everything which was in the 'old' repository, including any changes you may have made since installing Ebase.
0 x


Who is online

Users browsing this forum: No registered users and 4 guests