-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manifest Validation Fails on HighResolutionIconURL and IconURL Errors #590
Comments
I have contacted the team in Ireland that owns this validation service and let them know about the problem. Here's the gist of my mail: I really think we need to make a fix here quickly to not fail on localhost icon urls. The validation service already allows localhost SourceLocation so it makes sense that we would allow localhost for the other manifest settings as well. I will update this issue when I hear more. -Courtney |
@jfoclpf @RipkensLar @questicles Adding you to this issue thread as you commented on a thread about different validation issue, but were actually encountering this issue |
- OfficeDev/generator-office#590 tracks an issue with manifest validation, which I believe is a bug. I have contacted OMEX about the behavior and suggested they fix it. Several customers have also contacted us about this issue so it's becoming a real problem - Once the issue is fixed, we will re-enable the tests, but for now we should disable these tests because it will cause our CI loops to fail for all other changes made to Office-Addin-Scripts - I will open a VSO bug to track re-enabling the tests once the validation issue is fixed
Thanks @TCourtneyOwen but just to let you know that I am having the same error and I am not using localhost, but a normal host. So I suppose that this error is not related to the type of host. |
I grabbed a couple image icons off the internet and the following worked for Excel, Word and PowerPoint add-ins: Manifest validation passes with a 32x32 image for the IconUrl and a 64x64 image for the HighResolutionUrl, and I am subsequently able to upload to the add-in the to Admin Center. For Outlook add-ins, however, the expected dimensions are different and requires image sizes of 64x64 for the IconUrl and 128x128 for the HighResolutionUrl So it looks like we have multiple issues here:
@jfoclpf I was in fact able to get validation to pass when using non-localhost images as long as I used the correct size as cited above |
- OfficeDev/generator-office#590 tracks an issue with manifest validation, which I believe is a bug. I have contacted OMEX about the behavior and suggested they fix it. Several customers have also contacted us about this issue so it's becoming a real problem - Once the issue is fixed, we will re-enable the tests, but for now we should disable these tests because it will cause our CI loops to fail for all other changes made to Office-Addin-Scripts - I will open a VSO bug to track re-enabling the tests once the validation issue is fixed
Thank you very much @TCourtneyOwen
|
This is what the documentation mentions:
I tested with (non localhost): And indeed 'non mail' i.e. Outlook validates ok with 32 and 64: Mail app i.e. Outlook validates ok with 64 and 128:
I am currently looking into editing the repo and testing the changes ... |
We are updating the templates today with the new images and manifest updates. However, this will not address the fact that validation fails for localhost, as this is an issue with the validation service, which our templates simply call -Courtney |
We have updated the package we use for manifest validation. Please try using it! office-addin-manifest: next: 1.5.12 https://github.com/OfficeDev/Office-Addin-Scripts/tree/master/packages/office-addin-manifest |
In my case, I have uploaded a manifest to Microsoft Partner Center but two similar errors are shown However, when I validated that manifest at my laptop, it was successfully. So confused. Below is the successful validation result
|
@neittien0110 The image is available so I believe that the manifest validation should succeed. I would suggest using the Partner Center to contact them about this. |
I created a PR to fix the documented recommended icon sizes for the Outlook generator template here: #596 The issue is also avoided by changing the validator to avoid the proper resolution checks but in general that obviously is not really a solution as it still allowed not using the recommended icon resolutions. |
@aafvstam I published a new version (1.7.8) of generator-office with the changes from the PR. -Courtney |
I had to put the images inside the public folder and from there reference it |
Has this been solved i am getting the same error ? EDIT: actually after updating manifest version it passed. Maybe its a bug when you try to reupload same manifest |
Expected behavior
manifest validation should pass
Please describe the behavior you were expecting
Current behavior
Running "npm run validate" on the default project manifest returns the following:
Error # 1:
High Resolution Icon URL Unreachable: Unable to retrieve an image from the high resolution icon URL.
Error # 2:
Icon URL Unreachable: Unable to retrieve an image from the icon URL.
The text was updated successfully, but these errors were encountered: