ewingjm / development-hub

A continuous integration solution for Power Apps.
MIT License
35 stars 8 forks source link

Failed to create solution merge commit flow #68

Open tdashworth opened 3 years ago

tdashworth commented 3 years ago

Description When adding a new repository with a name with 29 characters the Flow When a repository is created or updated - Create an associated solution merge commit flow reports a Status Reason of Failed to link repository. Looking at the Flow run, which doesn't show as failed, the action Add new Flow fails with the message:

A validation error occurred. The length of the 'name' attribute of the 'workflow' entity exceeded the maximum allowed length of '100'..

Steps to reproduce Steps to reproduce the behaviour:

  1. Open 'Development Hub' App
  2. Go to 'Repositories'
  3. Click on 'Add'
  4. Create a new repository with a name of length 27 characters or greater
  5. Click 'Save'

Expected behaviour The solution merge flow is created with a name less than or equal to 100. The repository name could be truncated or the template name could be shortened. I guess the repository name field could have a length limit but that isn't the best experience for the user just because of the Flow name. It would also be nice to have seen the flow FAILED rather that succeeded.

Environment (please complete the following information):

ewingjm commented 3 years ago

Thanks, @tdashworth. Will have to try to cut down the length of the template flow's name and also truncate as you say.