UKGovLD / registry-core

Linked data registry - core application and example UI
https://github.com/UKGovLD/registry-core/wiki
Apache License 2.0
23 stars 9 forks source link

Data entry forms configuration #8

Open dr-shorthair opened 10 years ago

dr-shorthair commented 10 years ago

It appears that forms for data entry can be loaded in {registry}/system/form-templates I've reverse engineered these from the examples in the distribution, and loaded them OK.

Of the four that I've loaded, one is successfully causing a data entry form to be shown in the UI, through which I can successfully add an entity. The others do not work and I can't see why. Could be real bugs, but some documentation would help.

der commented 10 years ago

:)

Yes, this is an experimental feature specific to the current registry-core implementation and not part of the supported specification.

If this is likely to be a required feature in the future then it should indeed be cleaned up and documented.

Dave

On 20/05/14 01:32, Simon Cox wrote:

It appears that forms for data entry can be loaded in {registry}/system/form-templates I've reverse engineered these from the examples in the distribution, and loaded them OK.

Of the four that I've loaded, /one/ is successfully causing a data entry form to be shown in the UI, through which I can successfully add an entity. The others do not work and I can't see why. Could be real bugs, but some documentation would help.

— Reply to this email directly or view it on GitHub https://github.com/UKGovLD/registry-core/issues/8.

dr-shorthair commented 10 years ago

Discussion moved to https://groups.google.com/forum/#!topic/ukgovld-software/Ou8lgYIp61M to determine what to log as issues over here ...

dr-shorthair commented 10 years ago

... but no responses so I guess no-one else is interested :-(

der commented 10 years ago

:) That didn't make it to Alex & Jeremy's "above the cut line" list and I'm just totally swamped even doing the things the paid-for things.

If this is a real problem for you and you need some help in the short term let me know and I'll try to take a look at it.

dr-shorthair commented 10 years ago

Dave - not your problem. I've pushed Jeremy to take a look (as this is something required for a project he is interested in - but not WMO or DEFRA related), and have a couple of my guys getting up to speed. It is slow work for them and would be much faster for you, but in the long term better to develop more capability I think.

dr-shorthair commented 9 years ago

OK - there is a genuine bug. My test case was failing because there was a space character (Ox20) in the rdfs:label prop of the form template. Spaces are allowed in rdfs:label but apparently the form builder doesn't know that! (Thanks to Fab Giabardo for finding this in minutes.)

der commented 9 years ago

Could you be a little more specific on the test case.

dr-shorthair commented 9 years ago

This works: http://registry.it.csiro.au/system/form-templates/conformanceTest But if you change the label from "ConformanceTest" to "Conformance Test" it doesn't!

I just verified by editting it in place, then putting it back again.

There is an addtional entry here http://registry.it.csiro.au/system/form-templates/conformanceTestDoesntWork in which a space in the label (and id) are the only changes.