View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - global paramIconSize saving problem - ProjeQtOr
 
 

global paramIconSize saving problem

More
21 Aug 2014 17:09 #1 by g.miraillet
Hello,
I don't know if this one as already been reported :

When editing the global 'paramIconSize' in globals parameters view, and if a user has already set his own value, the new global parameter will not be saved.
Instead, the parameter is saved as a new one in database with a NULL 'parameterCode' value.
After a little modification in 'saveParameter.php' (tool/saveParameter.php), the parameter is now properly saved.

Before : (line 141)
      $crit['parameterCode']=$fld;
      $obj=SqlElement::getSingleSqlElementFromCriteria('Parameter', $crit);
After :
      $crit['parameterCode']=$fld;
      $crit['idUser']=null;
      $crit['idProject']=null;
      $obj=SqlElement::getSingleSqlElementFromCriteria('Parameter', $crit);

As the global parameter and user parameter has the same 'parameterCode', the 'getSingleElementFromCriteria()' method can't retrieve a unique result.


By the way, thanks for your great work on this project, it's awesome.

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

More
21 Aug 2014 19:17 #2 by babynus
Many thanks for reporting and fixing this issue.
Recorded as #1502 and will be included in next version.

Babynus
Administrator of ProjeQtOr web site

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

Moderators: babynusprotion
Time to create page: 0.032 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.