Skip to content
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

Error when trying to push content to remote server #247

Open
karltynan opened this issue Nov 7, 2024 · 4 comments
Open

Error when trying to push content to remote server #247

karltynan opened this issue Nov 7, 2024 · 4 comments

Comments

@karltynan
Copy link

Describe the bug
When trying to push to a remote server, I get the following error:

Value cannot be null. (Parameter 'configuration')
    at System.ThrowHelper.Throw(String paramName)
   at Microsoft.Extensions.Configuration.ConfigurationBinder.GetValue[T](IConfiguration configuration, String key, T defaultValue)
   at uSync.Forms.Dependencies.FormPickerChecker.GetDependencies(IContent item, DependencyFlags flags)
   at uSync.BackOffice.SyncHandlers.SyncHandlerRoot`2.GetDependencies(TObject item, DependencyFlags flags)
   at uSync.BackOffice.SyncHandlers.SyncHandlerRoot`2.GetDependencies(Guid key, DependencyFlags flags)
   at uSync.Expansions.Core.Cache.SyncCacheService.GetInternalDependency(ISyncHandler handler, Udi udi, DependencyFlags flags, SyncCacheOptions options)
   at uSync.Expansions.Core.Cache.SyncCacheService.GetDependencies(ISyncHandler handler, Udi udi, DependencyFlags flags, SyncCacheOptions options)
   at uSync.Expansions.Core.Services.SyncDependencyService.GetHandlerDependencies(ISyncHandler handler, String handlerSet, Udi udi, DependencyFlags flags, Boolean allowRootClean)
   at uSync.Expansions.Core.Services.SyncDependencyService.GetItemDependency(SyncItem item, String handlerSet, IList`1 existing, Boolean allowRootClean)
   at uSync.Expansions.Core.Services.SyncDependencyService.GetDependencies(SyncPackRequest request)
   at uSync.Publisher.Services.SyncPublishService.GetDependencies(SyncPublishRequest request)
   at uSync.Publisher.Publishers.SyncRealtimePublisher.PushCalculate(PublisherActionRequest request)
   at uSync.Publisher.Services.SyncPublisherActionService.PerformAction(PublisherActionRequest request, ISyncPublisher publisher, IUser user)

I have a new root node (+ children) on staging I'd like to promote to production. No other nodes on staging are on production, I am just moving this one for now.

Not sure if it is something to do with the FormPicker or not? I do recall at some point in the past seeing an error/warning in uSync area about the form picker did not have a valid mapper (or similar).

The only other thing that might be worth noting, but doesn't feel applicable, is we have enabled external login providers.

We have seen this working before, so not sure if this is something new.

Version (please complete the following information):

  • Umbraco Version: 13.5.2
  • uSync Version: v13.2.5 + Exporter (v13.1.7), Snapshots (v13.1.7), PeopleEdition (v13.1.7), Publisher (v13.1.7), Complete (v13.1.7), FormsEdition (v13.4.0.0)

Screenshots
image

@KevinJump
Copy link
Member

Hi,

We had an issue (with the config property on non-windows builds), but it was fixed in uSync.Forms v13.4.1 so if you upgrade to that it should be OK ?

@karltynan
Copy link
Author

That did the trick! Thanks.

@karltynan
Copy link
Author

karltynan commented Nov 8, 2024

We did see an issue after pushing actually, where any form with the same name seemed to have merged with each other. The structure was:

  • Forms
    • Folder A
      • A Form Name (not affected)
      • Duplicate Form Name*
      • A N Other Duplicate Form Name*
    • Folder B
      • B Form Name (not affected)
      • Duplicate Form Name*
      • A N Other Duplicate Form Name*

Forms with duplicate names in Folder B moved some of their fields/workflows into the form with the same name in Folder A, and vice versa in some cases. Unique named forms were unaffected.

Does the form sync/comparison need to have a unique name?

@karltynan karltynan reopened this Nov 8, 2024
@bielu
Copy link

bielu commented Dec 3, 2024

@karltynan I think i fixed this issue when working on KevinJump/uSync.Forms#22 if you can check and let me know.
the forms version is 13.4.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants