Giter Club home page Giter Club logo

Comments (7)

marcfor avatar marcfor commented on August 25, 2024

I have a similar issue with the URL field. I want to make the url field in a resource a fluent text field, but when I submit the resource, CKAN checks that there is a value provided to the URL field before scheming has mangled the fluent fields into one url field. CKAN then complains that no url was provided.

from ckanext-scheming.

wardi avatar wardi commented on August 25, 2024

@marcfor why not try getting it working without the fancy name validator. Just a normal text field will be fine for loading the data for now, right?

from ckanext-scheming.

wardi avatar wardi commented on August 25, 2024

@marcfor also, please paste the traceback you're getting and link to the schema you're using

from ckanext-scheming.

marcfor avatar marcfor commented on August 25, 2024

@wardi I had worked around the issue with the name field as you suggested by declaring it as a text field in the schema. It works for now.

from ckanext-scheming.

wardi avatar wardi commented on August 25, 2024

@marcfor please remind me to look into this tomorrow

from ckanext-scheming.

marcfor avatar marcfor commented on August 25, 2024

@wardi Unfortunately (or fortunately, depending how you look at it) I'm unable to reproduce the problem with the create name validator. Not sure why, maybe my VM was in a weird state when I had the problem.

As for the resource URL issue, we decided not to have it as a fluent field and create a separate resource for the French and English (at least for now).

from ckanext-scheming.

wardi avatar wardi commented on August 25, 2024

yes, I think separate resources makes more sense. Closing for now, but let me know if it pops up again

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.