damonb123 opened a new issue, #6766:
URL: https://github.com/apache/cloudstack/issues/6766

   
   ##### ISSUE TYPE
    * Improvement Request
   
   
   ##### COMPONENT NAME
   TemplateManagerImpl.java
   
   ##### CLOUDSTACK VERSION
   4.16.0, 4.17.0
   
   
   ##### SUMMARY
   * File: 
./server/src/main/java/com/cloud/template/TemplateManagerImpl.java:1751
   * Method: public VMTemplateVO createPrivateTemplateRecord(CreateTemplateCmd 
cmd, Account templateOwner)
   * Issue:
   The template name is limited to 32 characters despite the field allowing 
255.  This prevents the ability to use a more descriptive name for templates 
with environments that have many templates.
   
   ```java
   String name = cmd.getTemplateName();
   if ((name == null) || (name.length() > 32)) {
     throw new InvalidParameterValueException("Template name cannot be null and 
should be less than 32 characters");
   }
   ```
   Improvement request, change 32 to 255 allowing the full use of the field 
size and more descriptive names.
   
   
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to