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

Random elements appear when loading the editor / Unable to push from local editor #189

Open
TomsOverBaghdad opened this issue Mar 27, 2020 · 1 comment

Comments

@TomsOverBaghdad
Copy link

Describe the bug
I have a bug where it I do cmd+R (reload the local editor) some elements I thought were deleted reappear in the top left of the page and messes up the formatting of everything else on the page. I have tried to delete them and reformat several times and it has failed.

I have tried to just push out what I have and then try to fix this on a different branch, but I cannot push my changes. I get an error I'm guessing it has to do with this problem of not being able to delete these items.

To Reproduce
Steps to reproduce the behavior:

  1. git pull master
  2. npx corvid open-editor
  3. remove one of the items that keep reapearing, in my case buttonCreateFirstOutfit
  4. click local save
  5. close and reload the editor or cmd+r
  6. element comes back

Expected behavior
Elements that get removed shoudn't come back.
I'm editing the home page and removing elements that we no longer want on there.

Screenshots

one of the obvious elements (the others are hidden underneath)
Screen Shot 2020-03-27 at 2 30 03 PM

trying to push
Screen Shot 2020-03-27 at 2 31 44 PM

dev tools -- note I get Global user preferences failed to load! on load of the editor, the other lines after that one are when I try to push

Screen Shot 2020-03-27 at 2 32 33 PM

Desktop (please complete the following information):

  • OS: [iOS Mojave]
  • Version [10.14.6]

Additional context
I have made the 'random elements' on the main editor and had to pull them and overwrite the local branch. Another developer had no problems with this though.

@TomsOverBaghdad
Copy link
Author

Closer look at the error description

Screen Shot 2020-03-30 at 3 58 30 PM

ValidationFailurePayload { siteId=0f577108-804f-46a6-9a1c-e0974d864848, StyleReferenceMismatch=MutableList(StyleReferenceMismatch{styleId=style-k86j0zj9}, StyleReferenceMismatch{styleId=style-k1afmhre1}, StyleReferenceMismatch{styleId=style-k84wzxd5}, StyleReferenceMismatch{styleId=style-k84z0m9n}, StyleReferenceMismatch{styleId=style-k1afmhre1}, StyleReferenceMismatch{styleId=style-k1afmi4r1}, StyleReferenceMismatch{styleId=}, StyleReferenceMismatch{styleId=style-k86j0zj9}, StyleReferenceMismatch{styleId=style-k84z0m9n}, StyleReferenceMismatch{styleId=style-k84wzxd5}),PropertyReferenceMismatch=MutableList(ComponentPropertyMismatch{propertyReference=mobile_propItem-k3ritvc1}, ComponentPropertyMismatch{propertyReference=propItem-k84z05k3}, ComponentPropertyMismatch{propertyReference=propItem-k84z05k3}),MissingReference=MutableList(MissingReference(NodeId(dataItem-k84z05k1,document_data,None),comp-k84z05i3), MissingReference(NodeId(connection-k84z05k4,connections_data,None),comp-k84z05i3), MissingReference(NodeId(mobileHints-k84z061g,mobile_hints,None),comp-k84z05i3), MissingReference(NodeId(dataItem-k84z05k1,document_data,None),comp-k84z05i3), MissingReference(NodeId(connection-k84z05k4,connections_data,None),comp-k84z05i3), MissingReference(NodeId(mobileHints-k84z061g,mobile_hints,None),comp-k84z05i3)),UnknownComponentType=MutableList(UnknownComponentType(comp-k1uyedlu,wysiwyg.viewer.components.Group), UnknownComponentType(SOSP_CONTAINER_CUSTOM_ID,wysiwyg.viewer.components.SiteRegionContainer), UnknownComponentType(comp-k1uyedlu,wysiwyg.viewer.components.Group), UnknownComponentType(SOSP_CONTAINER_CUSTOM_ID,wysiwyg.viewer.components.SiteRegionContainer)) }"```

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

1 participant