Comments (7)
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.
@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.
@marcfor also, please paste the traceback you're getting and link to the schema you're using
from ckanext-scheming.
@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.
@marcfor please remind me to look into this tomorrow
from ckanext-scheming.
@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.
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)
- Option to display help_text before the form input block HOT 2
- Option to display grouped metadata by relying on start_form_page
- CKAN - Custom plugin/theme error datastore using fluent presets
- Combination of Form Pages and repeating_subfields do not work properly in edit mode. HOT 2
- Formpages does not work when a required field is in the second page HOT 1
- Empty multiple_checkbox is not saved
- Handling many start_form_page sections
- Can't use choices_helper for a required field HOT 3
- Customizing group/about.html
- Validators ignored for fields with repeating subfields
- Applying multiple schemas not working as expected HOT 2
- Repeating subfield form snippet displays help text inconsistently HOT 2
- Rendered `select` elements on form do not have "dropdown" arrow HOT 1
- Missing in documentation HOT 1
- ckan.plugins.core.PluginNotFoundException: scheming_datasets HOT 2
- Install Error: Error processing line 1 HOT 3
- Groups/Organizations silently ignore `create_validators`
- Translations for label name and placeholder not working. HOT 4
- Other extra fields will be deleted after editing dataset
- Check_ckan_version() throwing error due to missing argument HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckanext-scheming.