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 creating knowledge view for component of another base that already has a knowledge view #227

Open
AJamesPhillips opened this issue May 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@AJamesPhillips
Copy link
Owner

AJamesPhillips commented May 3, 2022

To Reproduce

Steps to reproduce the behavior:

  1. Create a component "1" in base A, and create a knowledge view for it, inside this knowledge view create a second component "2" and create a knowledge view for this.
  2. Change to base B and add component "1" to it, reload and click on it's knowledge view magnifying glass.
  3. Observe that whilst in editing mode, component "2"'s knowledge view magnifying glass symbol is present is blue (i.e. it is absent)
  4. Clicking on the magnifying glass will result in an unhandled error (will change to a different knowledge view that is empty)

Expected behavior

? Decide on expected behaviour. Is the magifying glass red?... then we'd need to attempt to load all knowledge views of all components that are from an existing base. If the magnying glass is blue, then we need to perhaps warn people that this component already has a knowledge view associated with it and offer them to change to that base, or to create a new component that wraps this component and create a knowledge view for that wrapper instead?
Preferably there would be a way to formalise this kind of cloned component.

Or once you try to click on it, if a knowledge view already exists, then load this and it's associated components.

@AJamesPhillips AJamesPhillips added the bug Something isn't working label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant