View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Problems with lists of objects - ProjeQtOr
 
 

Problems with lists of objects

More
19 Jun 2014 15:57 - 19 Jun 2014 17:49 #1 by Jean-Luc
I found two problems when working on Projeqtor.

1. In lists of objects (p.e. Users), translatable data appears only with internal value ([profileAdministrator]) instead of the translated value ('administrateur').
Not very sexy…

2. When any changes are made in a module for display, there is conflicts between new values or data in the module and recording in 'columnselector' values.
To avoid wrong display, I delete all lines for the concerned entities, so a new recording is done with good data and values (long life to PhpMyAdmin ! ;)
But it seems that something has not been provided for clean structural changes…
Last edit: 19 Jun 2014 17:49 by Jean-Luc.

Please Log in or Create an account to join the conversation.

More
20 Jun 2014 09:21 #2 by babynus

1. In lists of objects (p.e. Users), translatable data appears only with internal value ([profileAdministrator]) instead of the translated value ('administrateur').
Not very sexy…

It is because "profileAdministrator" is not included in lang.js file.

2. When any changes are made in a module for display, there is conflicts between new values or data in the module and recording in 'columnselector' values.
To avoid wrong display, I delete all lines for the concerned entities, so a new recording is done with good data and values (long life to PhpMyAdmin ! ;)
But it seems that something has not been provided for clean structural changes…

Yes, there is :woohoo:
In the fields selector list, click the "reset" button.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
20 Jun 2014 11:41 #3 by Jean-Luc

babynus wrote:

1. In lists of objects (p.e. Users), translatable data appears only with internal value ([profileAdministrator]) instead of the translated value ('administrateur').
Not very sexy…

It is because "profileAdministrator" is not included in lang.js file.

No, all values ARE in lang.js files. They comes right in the detail section when an element is selected.
The problem is only in the objects list (top part of the screen)

babynus wrote:

2. When any changes are made in a module for display, there is conflicts between new values or data in the module and recording in 'columnselector' values.
To avoid wrong display, I delete all lines for the concerned entities, so a new recording is done with good data and values (long life to PhpMyAdmin ! ;)
But it seems that something has not been provided for clean structural changes…

Yes, there is :woohoo:
In the fields selector list, click the "reset" button.

Where is that “fields selector list”? Not found on any screen, nor in the documentation…

Please Log in or Create an account to join the conversation.

More
21 Jun 2014 10:29 #4 by babynus

The problem is only in the objects list (top part of the screen)

They are translated : exemple, profile in user list is correctly translated.
You muist just correctly define format in $_layout :
<th field="nameProfile" width="15%" formatter="translateFormatter">${idProfile}</th>

Where is that “fields selector list”? Not found on any screen, nor in the documentation…

Here :

Babynus
Administrator of ProjeQtOr web site
Attachments:

Please Log in or Create an account to join the conversation.

More
21 Jun 2014 10:56 #5 by Jean-Luc

babynus wrote:

The problem is only in the objects list (top part of the screen)

They are translated : exemple, profile in user list is correctly translated.
You muist just correctly define format in $_layout :
<th field="nameProfile" width="15%" formatter="translateFormatter">${idProfile}</th>

But this has only for effect that "profileAdministrator" is replaced by "[profileAdministrator]", not by the language-translated value.
And what for fields having already a formatting, as colorNameFormatter ?

babynus wrote:

Where is that “fields selector list”? Not found on any screen, nor in the documentation…

Here :

Ah, O.K. Thanks !
I’ll go to bed less dumb, this evening. :P

Please Log in or Create an account to join the conversation.

More
21 Jun 2014 11:14 #6 by babynus

But this has only for effect that "profileAdministrator" is replaced by "[profileAdministrator]", not by the language-translated value.
And what for fields having already a formatting, as colorNameFormatter ?

This is because [profileAdministrator] is not found in lang.js file by the javascript code
So you'll need to clean the browser cache to get the translation. Some times, cleaning the cache is not enough, and you may need to close the browser.
I sometimes had difficulties to retrieve the correct translations on javascript side.
Also concider cleaning "server side" cache.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.044 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.