Git Product home page Git Product logo

Comments (2)

wardi avatar wardi commented on July 17, 2024

@MandanaMoshref thanks for the report. Can you tell if it's an issue with the repeating subfields javascript or with the way the form page is rendering? If you come up with a fix please submit a PR.

from ckanext-scheming.

MandanaMoshref avatar MandanaMoshref commented on July 17, 2024

@MandanaMoshref thanks for the report. Can you tell if it's an issue with the repeating subfields javascript or with the way the form page is rendering? If you come up with a fix please submit a PR.

@wardi from my understanding it is related to the form page. I studied the behavior of view.py and found another strange behavior.

Regarding Edit: def edit causes the editing problematic. commenting out the if h.scheming_get_dataset_form_pages(package_type): seems to solve the problem for editing the Schemata with and without form_pages. I just did some clicking tests.

One more error is related to creating a new dataset with form pages. Creating the package and being in the last stage (resource creation), if the user decides to go back by clicking the previous button, it starts from page 1 (default by ckan) in edit mode which is OK. The problem is clicking next and from form page 2 it shifts to new and does not stay in edit mode causing all repeating_subfields to be removed and appear empty.

These are just my assumptions. Cannot say it for sure as I am not familiar with the code. For example, I do not understand that it is only the problem with lists like repeating_subfields and not a simple added text field.

in summary, i guess the form_page still needs more testing and therefore, it is better to be mentioned in the readme, that at the moment for complex attributes, required, etc. it cannot be used.

from ckanext-scheming.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.