View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Error when saving RealWorkAllocation - ProjeQtOr
 
 

Error when saving RealWorkAllocation

More
27 Feb 2012 14:07 #1 by rdevau
Dear All,

I have the same issue as spiderjn (topic #475)
We use v1.9.0
I checked the parameter dvVersion: dbVersion | V1.9.0
And when users want to save imputation, I get:
2012-02-27 13:49:28 ***** ERROR ***** ERROR *****
2012-02-27 13:49:28 ***** ERROR ***** on file '/var/www/project/projectorria/tool/saveImputation.php' at line (15)
2012-02-27 13:49:28 ***** ERROR ***** cause = Undefined index: nbLines

Do you have any feedback about this?
Need more logs or informations, ask me!
Best Regards,
Rémi

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

More
27 Feb 2012 15:43 #2 by babynus
Very strange.
I never produced this issue.

Can you try to replace in /model/ImputationLine.php, line 543
if (! $print) {     
      echo '<input type="hidden" id="nbLines" name="nbLines" value="' . $nbLine . '" />';
    }
with
if (1) {     
      echo '<input type="hidden" id="nbLines" name="nbLines" value="' . $nbLine . '" />';
    }

Babynus
Administrator of ProjeQtOr web site

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

More
27 Feb 2012 16:18 #3 by rdevau
Thanks for the feedback,

Same result (in v1.9.0, this is the line 481).

Need more log/info?

Regards,
Rémi

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

More
28 Feb 2012 15:28 #4 by babynus
Can you please try to replace same lines with
if (! $print) {     
      echo '<input type="text" id="nbLines" name="nbLines" value="' . $nbLine . '" />';
    }

Then go to Real Work Allocation, and send me print screen (bottom of screen is important : there should be a new "not formated" field.
Thanks

Babynus
Administrator of ProjeQtOr web site

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

More
28 Feb 2012 15:50 #5 by rdevau
Yes, I can see the text box with a good value... please see the screenshot on the following link...
postimage.org/image/p9vs1b6pp/

And with the original code, i get the correct data too...
<input id="nbLines" type="hidden" value="59" name="nbLines">
<input id="nbLines" type="text" value="59" name="nbLines">

The whole form block:
<form id="listForm" dojoattachevent="onreset:_onReset,onsubmit:_onSubmit" dojoattachpoint="containerNode" action="" method="post" widgetid="listForm" style="width: 1279px; height: 294px;">
<input id="userId" type="hidden" value="25" name="userId">
<input id="rangeType" type="hidden" value="week" name="rangeType">
<input id="rangeValue" type="hidden" value="201209" name="rangeValue">
<input id="idle" type="checkbox" style="display: none;" name="idle">
<input id="showPlannedWork" type="checkbox" style="display: none;" name="showPlannedWork">
<input id="page" type="hidden" value="../report/imputation.php" name="page">
<input id="outMode" type="hidden" value="" name="outMode">
<table class="imputationTable">
<input id="nbLines" type="hidden" value="59" name="nbLines">
<input id="nbLines" type="text" value="59" name="nbLines">
</form>

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

More
28 Feb 2012 15:55 #6 by babynus
Ist it really the whole form block ?
the <table class="imputationTable"> should include much more data...

Babynus
Administrator of ProjeQtOr web site

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

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