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

Issues in deleting templates and resources #7

Open
Bianca-LM opened this issue Oct 3, 2023 · 0 comments
Open

Issues in deleting templates and resources #7

Bianca-LM opened this issue Oct 3, 2023 · 0 comments

Comments

@Bianca-LM
Copy link

I'm using the new version of clef, and some problems occurred to me when creating and deleting templates:

  • when a template is deleted, its JSON file is not removed from the folder "resource_templates". It is correctly deleted from the list inside the "ask_json.json" file, but it remains in the file "templates.json" list. This can create inconsistencies when loading the application. At the same time, if a template has been deleted and is created again with the same name, the file of the deleted one changes name by adding numbers to it, but it still stays both in the folder and the list in "templates.json" with the new status "deleted".

The same thing happens when it comes to resources: even if they have been deleted as triples from the knowledge graph, their turtle file stays in the folder resources.

Sebastiano-G added a commit that referenced this issue Feb 22, 2024
#10 : The recursion function dedicated to managing the subrecords produced (mapping.py) has been optimized to make any contributions faster and to reduce the number of steps required. On the Record creation page, it is now possible to select subrecords already created for the same OWL class, including subrecords not yet saved and created on the same page (main.js)
#7 Fixed problems with homonyms and creation of previously deleted templates. The feature will need to be updated when multiple classes for templates are introduced.
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