[ 
https://issues.apache.org/jira/browse/VCL-776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205123#comment-14205123
 ] 

ASF subversion and git services commented on VCL-776:
-----------------------------------------------------

Commit 1637954 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1637954 ]

VCL-776 - rework resource code to have a base class for all resources and 
inheriting classes for each resource type

fixed problem where changing state of computer to maintenance could insert a 
tomaintenance reservation at the end of an indefinite server reservation

computer.php:
-modified AJsaveResource: moved adding update of notes field to after 
conditionals for state change - this prevents the "your changes have been saved 
but" text from showing up when the only thing changed was setting the notes 
field due to a state change when the state change was not allowed; added check 
for $reloadstart being '2038-01-01 00:00:00', if true, notify user that cannot 
schedule computer to be moved to maintenance state
-modified AJsubmitCompStateChange: added checks for $reloadstart being 
'2038-01-01 00:00:00', if true, add computer to $fails array and continue to 
next computer

> rework resource code to have a base class for all resources and inheriting 
> classes for each resource type
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: VCL-776
>                 URL: https://issues.apache.org/jira/browse/VCL-776
>             Project: VCL
>          Issue Type: Improvement
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>             Fix For: 2.4
>
>
> Rework the code for resources so that there is a base class that provides 
> common functionality for all resources and then write classes that inherit 
> from that to provide resource specific functionality.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to