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.

Mispelled argument
 
Notifications
Clear all

Mispelled argument

2 Posts
2 Users
0 Reactions
3,511 Views
(@antonio-grr)
Posts: 84
Active Member
Topic starter
 
[#4367]

Hi.
In function upgradeProductVersionStructure(strucutreId, withoutConfirm) of projequtoDialog.js you see the first argument mispelled.
I could be a don't care ( what's in a name ?), but the url argument follows
if (strucutreId)
params += "&strucutreId=" + strucutreId;
Also this could be ignored as in upgradeProductVersionStructure.php the request is mispelled
$strId=RequestHandler::getId('strucutreId',false);

but in function upgradeProductVersionStructure you find also

if (upgradeProductVersionStructureId)
params += "&structureId=" + upgradeProductVersionStructureId;
so you get a mismatch.
You can fix as you like, but I suggest to use the right spelling everywhere.
Best regards


 
Posted : 19 May 2017 18H33
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Your are right (have really have hawk eyes 😉 )
We fixed it the way you suggest (best way by the way)


 
Posted : 19 May 2017 19H01
Share:

Scroll to Top