Topic: Off By 1 in EP system
Nothing major but there appears to be an off-by-1 error somewhere in the EP system.
The Setup:
1) Have fewer than the required EP to insert a new Extension. In this case I had 452 EP and 457 EP was required to install the new extension which was Energy Management.
2) Open the Agent Profile window to the extensions section. the cost of installing the extension in question was in red (correct) no install button displayed (correct). Leave this window open.
3) Wait till you have exactly the required amount of EP. In this case I waited 5 minutes till my EP hit 457 as viewed in the Terminal info header when "docked".
What Happens:
When my EP ticked up to 457 the cost of the Energy Management Extension became green and the Install button appeared in the Agent Profile window as expected. However clicking "Install" resulted in an error box indicating that I didn't have enough EP.
I then waited for 1 minute till I had 458 EP, 1 more than the Extension requires. Then clicking "Install" works, however after the install I was down to 0 EP which indicates that I either paid 1 more EP than I should have or that the client is showing 1 more EP than I actually had.
Cheers,
-xian