missing feature editing properties with alternate data type

Bug #1031240 reported by Matthias Ronge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Goobi.Production
Status tracked in 1.10
1.10
New
Undecided
Unassigned
1.8
Fix Released
Low
Matthias Ronge

Bug Description

Goobi.Production provides a feature to define fancy properties in propertyTemplates.xml. The frontend doesn't provide for these; it always shows nothing but a line input box.

Related branches

Revision history for this message
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote :

1- can you provide an example propertyTemplates.xml file so that an editable property appears in the dialog?
2- can you provide a screenshot of the dialog in question?

Thx!

Changed in goobi-production:
status: New → Incomplete
importance: Undecided → Low
assignee: nobody → Matthias Ronge (matthias-ronge)
Revision history for this message
Matthias Ronge (matthias-ronge) wrote :

There are various entries of that kind in propertyTemplate.xml already. You only need to create a step named “Scannen” in any process and five step properties will automatically be added, that of “Farbtiefe”, “Öffnungswinkel” and “Scangerät” are of type “list”.

It seems to work the way that, in propertyTemplate.xml, the <tns:entity type="project|process|step" name="foo" /> work like filters, where tags without ‘name’ attribute mean ‘any’. I didn’t check the code for other valid attributes yet, I wouldn’t be surprised if there were more.

BTW, the code is re-imported from http://bazaar.launchpad.net/~intranda/goobi-production/intranda1.7/view/head:/newpages/inc_Prozessverwaltung/schritt_box_Eigenschaften.jsp

Revision history for this message
Gerrit Gragert (gerrit-gragert) wrote :

Another Problem with the propertyTemplates.xml: you can define a property as required with the attribute required=true. Editing the Propterties under "Task details" in the Process details always works, even if a required Properties is empty. When I open the same task under "My tasks", Goobi shows only the properties with a value (required or not). When I try to finish the task, an error message says f.e. "Farbtiefe is required" but I don't have a chance to edit this value here.

tags: added: propertytemplate
Revision history for this message
Ralf Claussnitzer (ralf-claussnitzer-deactivatedaccount) wrote :

@gerrit-gragert
I created a new bug for this here: https://bugs.launchpad.net/goobi-production/+bug/1046809

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.