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.

[SOLVED] Error when...
 
Notifications
Clear all

[SOLVED] Error when trying to modify or delete a function cost on resource

9 Posts
2 Users
0 Reactions
7,837 Views
(@louisc)
Posts: 58
Active Member
Topic starter
 
[#5389]

Hi,

As I didn't anticipated that I had configured charges in days and not in hours, when assigning function costs on resources I put the hourly cost instead of the daily cost.
I wanted to modify it and I can't as both modify and delete action don't work.
Looking at the debug console (on Microsoft Edge), I can see the following error when trying to modify or delete the resource function cost :

 SCRIPT5007: Unable to set property 'value' of undefined or null reference (projectorDialog.js (4396, 2))
 SCRIPT5007: SCRIPT5007: Unable to set property 'value' of undefined or null reference (projectorDialog.js (4397, 3))

I also tested on Chrome without success.


 
Posted : 30 Aug 2018 20H51
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Hi,

I cannot reproduce on V7.1.5.

What is strange is that there is no line that can generate the issue on line 4396 of projectorDialog.js.
Which version are you using ?


 
Posted : 31 Aug 2018 21H41
(@louisc)
Posts: 58
Active Member
Topic starter
 

Hi,
I'm still on v7.1.4, I can update to v7.1.5 and retry.
I also had a look at the .js file and did not see anything Strange but I'm really not an expert at Javascript.


 
Posted : 03 Sep 2018 11H01
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

I checked version 7.1.4 : no line can generate issue on projeqtorDialog.js.

So possibly you have a cache issue.
Try and clean the cache of your browser (use the browser feature, not only F5 or Shift-F5)


 
Posted : 03 Sep 2018 11H55
(@louisc)
Posts: 58
Active Member
Topic starter
 

Hi Pascal,

Sorry for late reply.
I updated to version 7.1.5, tried on a fresh Chrome (so no cache), and I get the same type of error :

I'm still unable to change or delete the daily rate for the ressources.

By the way, in the code now the lines correspond to the error :


 
Posted : 19 Sep 2018 12H54
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

OK, I get it.
I could reproduce.
Ticket #3584 recorded.

As it is an initialization issue, there is an easy workaround :
Before clicking on "trash" icon, click on "+" or on "edit".
Just cancel the pop-up displayed.
Then delete will work 😉


 
Posted : 20 Sep 2018 20H34
(@louisc)
Posts: 58
Active Member
Topic starter
 

Hi Pascal,

Thanks for the answer.
The workaround is working well.

One more question, how can we put dates in start and end dates ? So I could update the ressource cost when needed without impacting the past calculated costs.

Thanks !


 
Posted : 21 Sep 2018 11H04
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

It is automatic.
When you enter first value for a given function, it is supposed valid alll the time.
When you enter next values for same function, start date is required, and previous value will automatically end at date - 1 day


 
Posted : 21 Sep 2018 11H31
(@louisc)
Posts: 58
Active Member
Topic starter
 

Ok that's clear, thank you !


 
Posted : 21 Sep 2018 17H47
Share:

Scroll to Top