You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/09/26 15:03:35 UTC

[GitHub] [cloudstack] damonb123 opened a new issue, #6766: Template Names Limited to 32 Characters: vm_template.name size is 255

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: commits-unsubscribe@cloudstack.apache.org.apache.org

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


[GitHub] [cloudstack] damonb123 commented on issue #6766: Template Names Limited to 32 Characters: vm_template.name size is 255

Posted by GitBox <gi...@apache.org>.
damonb123 commented on issue #6766:
URL: https://github.com/apache/cloudstack/issues/6766#issuecomment-1260094307

   Thank you for such a quick response.


-- 
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: commits-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] damonb123 commented on issue #6766: Template Names Limited to 32 Characters: vm_template.name size is 255

Posted by GitBox <gi...@apache.org>.
damonb123 commented on issue #6766:
URL: https://github.com/apache/cloudstack/issues/6766#issuecomment-1260973026

   Yes, I can test it.


-- 
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: commits-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] rohityadavcloud closed issue #6766: Template Names Limited to 32 Characters: vm_template.name size is 255

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed issue #6766: Template Names Limited to 32 Characters: vm_template.name size is 255
URL: https://github.com/apache/cloudstack/issues/6766


-- 
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: commits-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] boring-cyborg[bot] commented on issue #6766: Template Names Limited to 32 Characters: vm_template.name size is 255

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #6766:
URL: https://github.com/apache/cloudstack/issues/6766#issuecomment-1258175446

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

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


[GitHub] [cloudstack] DaanHoogland commented on issue #6766: Template Names Limited to 32 Characters: vm_template.name size is 255

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6766:
URL: https://github.com/apache/cloudstack/issues/6766#issuecomment-1260453780

   np @damonb123 , will you be able to test the PR?


-- 
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: commits-unsubscribe@cloudstack.apache.org

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