Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Datas errors in pop...
 
Notifications
Clear all

Datas errors in pop-ups (decimal separator format ?).

9 Posts
2 Users
0 Reactions
12.4 K Views
FredGarde
(@fredparis)
Posts: 50
Active Member
Topic starter
 
[#212]

Hi,

There are some errors when editing pop-ups.

1) In resource view, a pop-up can affect costs to a resource.
Creating is ok.
Modifying is not possible.
An error on cost's format is detected, because of decimal separator (comma in France) :
- the value into the pop-up has a point. The format is waiting a comma.
- when typing a comma, I can save. But a point is displayed (stored ?) again in the pop-up.

2) In activities view, the same conflict appears in assignment pop-up :
- all decimal values (cost, assigned work, real work, left work) are displayed as errors.

If I want to readjust this pop-up, a message is displayed :
'Some field contains invalid data. Please correct first'
But it is impossible to correct datas.

It is a problem, because deleting the first assignment is not allowed into pop-ups.
And choice of decimal separator is not set up in parameters.php file, but it seems depend of user's computer.

There are perhaps more pop-ups with this error, but I have seen these 2 one.

Thanks for help,
Regards,
Fred


 
Posted : 19 Oct 2011 15H20
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Which Browser / Version are you using ?
What is your locale language defined in the browser ?
Which version or Project'Or RIA are you using ?

Some improvment has been integrated in V1.8.0 on this subject.
Could you test on this newly deployed version ?

Thanks.


 
Posted : 19 Oct 2011 15H52
FredGarde
(@fredparis)
Posts: 50
Active Member
Topic starter
 

I'm using Firefox 7.0.1,
locale is french,
Project'Or RIA is 1.7.2

I'll look today for 1.8.0 and I'll be back with comments !

Thanks a lot !
Fred


 
Posted : 19 Oct 2011 16H02
FredGarde
(@fredparis)
Posts: 50
Active Member
Topic starter
 

Hi Babynus,

V 1.8.0. works fine.
No problem with the pop-ups now, and also with decimal separator.

Great ! 😀

Regards,


 
Posted : 20 Oct 2011 2H16
FredGarde
(@fredparis)
Posts: 50
Active Member
Topic starter
 

Hi,

Since yesterday, some changes.
The problem with pop-up is back again, with version 1.8.0 :

- when I write a work's duration (in activity view) with decimal values, I must write a comma as decimal separator (due to my local system configuration) => no problem with this value, which is stored and displayed always with a comma.

- when I write the assignment of this work to a resource, I type a comma but the value is stored with a decimal point => editing this data displays the same message "'Some field contains invalid data. Please correct first" => the values with a decimal point are invalid.

- this is the same error with 'Function & cost' into Resource details : I write the cost of a resource's function with a comma, but it's stored with a point. Then, this datas (displayed as in a invalid format) are not possible to be modified.

Thanks for helping,
Regards,
Fred


 
Posted : 22 Oct 2011 2H24
(@babynus)
Posts: 14952
Member Admin
 

Hi,
I succeded in reproducing your issue... with difficulties.

In fact, you msut be using defaut local using comma as numeric separator.
But on your workstation windows parameters have redefined point as decimal separator.
This leads to an issue as Dojo always expect the defaut separator (comma).

I will try to find a way to fix this.
To be able to enter data, just reverse your regional parameters to default ones.

Regards.


 
Posted : 22 Oct 2011 20H55
(@babynus)
Posts: 14952
Member Admin
 

Finaly fixed in V1.8.1


 
Posted : 23 Oct 2011 0H56
FredGarde
(@fredparis)
Posts: 50
Active Member
Topic starter
 

Hi Babynus,

Great job ! It's ok !

I must verify some of my computer's configurations :

I have stored Project'Or Ria (1.8.1) on my personal web hosting, to do an "online job".

- on my professional computer, at office, it works fine,

- on my laptop (on a locale installation with WAMP), it works fine,

- at home, on my personal computer, connected to the web hosting (like at my office), there is always a point instead of a comma.
When editing, datas (durations and costs) are displayed without decimal separators, as it was * 100 : costs in euro's cents and durations * 100).
But it works, no more error message when updating these datas.

I think I have a trouble on my personal configuration.
The tree computers are working under Windows XP, locale french.

You did a really great job ! 😎

Regards,


 
Posted : 26 Oct 2011 3H23
(@babynus)
Posts: 14952
Member Admin
 

Hi,
thanks for your message.

Just pay attention : if displayed values appear without decimal separator (*100), it means that Server Side (PHP) uses new version (V1.8.1) but client side (Javascript) uses an older version (V1.8.0). This can lead to an error when storing data (*100) !
Be sure to refresh your browser cache to use the correct version of Javascript code.

Regards.


 
Posted : 26 Oct 2011 14H57
Share:

Scroll to Top