You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2021/01/12 16:12:54 UTC

[GitHub] [trafficcontrol] mitchell852 opened a new issue #5426: TP: offline reason logic does not account for new non-online statuses that can be added

mitchell852 opened a new issue #5426:
URL: https://github.com/apache/trafficcontrol/issues/5426


   ## I'm submitting a ...
   -  bug report
   
   ## Traffic Control components affected ...
   -  Traffic Portal
   
   ## Current behavior:
   In TP, when updating the status to ADMIN_DOWN or OFFLINE, the user is prompted to enter an "offline reason"
   
   ![image](https://user-images.githubusercontent.com/251272/104340626-1ea76500-54b6-11eb-9fa5-35afed547f8e.png)
   
   ## Expected behavior:
   Since server statuses can be added to the system, "offline reason" should be prompted when status != REPORTED or ONLINE instead to account for new non-online statuses.
   
   ## Minimal reproduction of the problem with instructions:
   <!--
   If the current behavior is a bug, please provide the *STEPS TO REPRODUCE* and
   include the applicable TC version.
   -->
   
   ## Anything else:
   <!--
   e.g. stacktraces, related issues, suggestions how to fix (feel free to delete
   this section)
   -->
   
   <!--
   Licensed to the Apache Software Foundation (ASF) under one
   or more contributor license agreements.  See the NOTICE file
   distributed with this work for additional information
   regarding copyright ownership.  The ASF licenses this file
   to you under the Apache License, Version 2.0 (the
   "License"); you may not use this file except in compliance
   with the License.  You may obtain a copy of the License at
   
       https://apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing,
   software distributed under the License is distributed on an
   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
   -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org