Closed tylerbutler closed 4 years ago
We are not planning to fix this behavior in Word Online. There are plenty of reasons why HostEditUrl and HostViewUrl should be included as a best practice anyway (see #192 and #324 for example), so we're planning to add a new validator test specifically for Office Online that requires these optional properties.
Validator test was added in https://github.com/microsoft/wopi-validator-core/issues/30, so closing this.
i am facing this error would you please help me . I have modified this code for wopisrc value with empty string in wopisrc it have same error
private async Task
CheckFileInfoVm fileInfoVm = new CheckFileInfoVm();
WopiClaimTypesVm claimTypesVm = await user.GetClaimInfoFromClaimIdentity();
claimTypesVm.WopiSrc=xxx;
Both optional
HostViewUrl
andHostEditUrl
properties must be included in the PutRelativeFile response, or the conversion will fail with a generic error. We are working on a fix for this issue.In the meantime, the issue can be easily worked around by providing both
HostViewUrl
andHostEditUrl
in the PutRelativeFile response.