Power-Maverick / PCF-CustomControlBuilder

XrmToolBox Plugin for building and deploying custom control using PCF
MIT License
40 stars 6 forks source link

Deploy button disabled and CDS Solution Details reports Not Initialized #27

Closed wnbittle closed 3 years ago

wnbittle commented 3 years ago

Describe the bug I can't seem to get the Deploy button to be enabled. Am I using the tool incorrectly or is there a bug? Using the process outlined in the next section was working for me in prior versions.

To Reproduce

  1. Point to the control location
  2. Click the reload details button
  3. Click the Build button under the PCF Component Details section
  4. Assuming that succeeded, I click the Use Existing Solution checkbox
  5. Select the appropriate solution
  6. Click the Export and Add Control button
  7. Click the Build button in the CDS Solution Details section
  8. The Deploy button is still disabled and the CDS Solution Details section still reports "Not Initialized"

The control builds successfully, the solution is downloaded and extracted successfully, the control is added to the solution successfully, and the MS Build step completes successfully.

Expected behavior After step 6, I would expect the CDS Solution Details section to report "Initialized". After step 7, the deploy button should be enabled.

Screenshots deployissue

Desktop (please complete the following information):

Additional context When I select an existing solution, the Publisher Name, Prefix, and version all populate correct. However, when I click the Export and Add Control button, it does all the commands, but then clears out the Publisher Name and Publisher Prefix fields - I'm guessing this is why it's "Not Initialized" and the Deploy button is disabled?

power-maverick-bot[bot] commented 3 years ago

I am groot!! Thanks for raising an issue. Please make sure you have given us as much context as possible.

issue-label-bot[bot] commented 3 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.86. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Power-Maverick commented 3 years ago

Looking at the screenshot it feels like you have not clicked on "Build" which will generate the solution files for deployment. Can you validate that you have clicked "Build" button? Thanks.

power-maverick-bot[bot] commented 3 years ago

I am groot!! Thanks for adding your comments. One of the Avengers will respond as soon as possible.

wnbittle commented 3 years ago

Correct. In the screenshot I didn't include the build output, but I did click the Build button and the build succeeds.

power-maverick-bot[bot] commented 3 years ago

I am groot!! Thanks for adding your comments. One of the Avengers will respond as soon as possible.

oiluis commented 3 years ago

Facing the same bug here and on my case, the solution number is not updating: It isn't loading the solution files under the Solution or Solutions folder anymore!

image

power-maverick-bot[bot] commented 3 years ago

I am groot!! Thanks for adding your comments. One of the Avengers will respond as soon as possible.

Power-Maverick commented 3 years ago

This should be resolved in version 2.2020.10.212. I just released it.

power-maverick-bot[bot] commented 3 years ago

I am groot!! Thanks for adding your comments. One of the Avengers will respond as soon as possible.

wnbittle commented 3 years ago

@Power-Maverick Thanks a lot for the quick fixes - the full process defined above appears to be working again!

power-maverick-bot[bot] commented 3 years ago

I am groot!! Thanks for adding your comments. One of the Avengers will respond as soon as possible.