> - ICA-ISDIAH :: Location and address(es)Sounds good to me - anyone else have some thoughts? Peter or Evelyn?
> This is a mandatory field. However, we have ContactInformation objects where
> other fields also belongs to ContactInformation, I mean, "Telephone, fax,
> email" and "Contact person". Then, what exactly we should check here? If we
> have a primary contact information with at least the fields related to
> "Location and address"?http://ica-atom.org/docs/index.php?title=RS-3#5.2
^ this was my first thought - then i realized it checks that all the
fields of the primary contact are present - not *any* of the fields :
(
how about this one? http://www.sfu.ca/~jdbates/tmp/qubit/200912011/patch
I've added some comments to http://qubit-toolkit.org/wiki/index.php?title=Validation#Show_pages
and http://qubit-toolkit.org/wiki/index.php?title=Validation#Edit_pages.
i would add the sfFormExtraPlugin as an svn:external, the same way you
added the sfWebBrowserPlugin
Hi Jes�s,
Yes, these are tough. I've added my feedback on the wiki page, copied here below
for any follow-up discussion:
The Level of Description hierarchy needs to stay flexible, allowing users to
modify it for institutional or national practices. Therefore, we can't hardcode
a Level hierarchy. The application will ship with our current default set of
Levels which the user can then revise via the standard Term edit screens. This
order should be used to validate the Level of Description hierarchy.
In an earlier release we had a 'sort' column for Terms. We got rid of that in
favour of (eventually) using the Nested set 'lft' & 'rgt' values for sorting
amongst siblings. Now that the Term object is using a nested set we have to
implement this.
The ideal way to implement that is to allow drag-and-drop in the hierarchy tree
(like we currently allow to change parentId) but then specific to the siblings
in the branch. Then we can use the 'lft' value of the siblings as the hierarchy
sort order and we can set a validation rule that ensures a particular
information object's term->lft value is not less than any of its ancestors.
--peter
In an earlier release we had a 'sort' column for Terms. We got rid of that in
favour of (eventually) using the Nested set 'lft' & 'rgt' values for sorting
amongst siblings. Now that the Term object is using a nested set we have to
implement this.
The ideal way to implement that is to allow drag-and-drop in the hierarchy tree
(like we currently allow to change parentId) but then specific to the siblings
in the branch. Then we can use the 'lft' value of the siblings as the hierarchy
sort order and we can set a validation rule that ensures a particular
information object's term->lft value is not less than any of its ancestors.
Yes, I think the drag-n-drop in the treeview, as per your example, is the way we
will (eventually) want to implement this. Unfortunately, it looks like we may
have to settle for something simpler in the meanwhile (see comments below).
>
> BTW, I have two problems:
>
> 1) Javascript files are not being loaded when they are required from a
> component. I created an issue page,
> http://code.google.com/p/qubit-toolkit/issues/detail?id=1185. But I
> wasn't able to fix it.
Jack is looking into this.
> 2) I am not sure how to move siblings in the database. It seems Propel
> offers some methods for NestedSets, but they are not available from our
> classes. Their names are "moveToNextSiblingOf(...)" and
> "moveToPrevSiblingOf(...)". Should I implement those methods in our
> class QubitTerm? I wrote the logic in moveAction and some JavaScript
> AJAX requests, but it needs those methods or write my owns.
Yes, we will want to have these methods available in the Qubit NestedSet.
However, adding that method will likely require some significant development and
testing time. This raises the question of how much additional development time
we want to invest in our own custom Nested Set implementation in light of the
fact that these are now more robustly supported in both Propel and Doctrine. The
future of our ORM is a discussion we will need to revisit after our current
January 4th deadline.
Regardless, the ability to sort the Level of Description taxonomy and then
enforce those ordered hierarchy levels as a Validation rule, will be a high
priority requirement for 1.1. If we can't provide that via NestedSet ordering
and treeview drag-n-drop then we may have to look at an alternative work-around
(i.e. adding a sort/weight property for the Level Of Description taxonomy)
In the meanwhile, I think we should just look for and enforce the Levels of
Description and their respective order as specifically mentioned as examples in
rule 1.3.4 of ISAD(G). Additionally, we include 'collection' as a top-level
alternative to 'fonds' as this is supported by ISAD. "It is assumed that the
same rules used to describe a fonds and its parts may be applied to the
description of a collection" (p8)
We can simply ignore any Levels that may have been custom added by users in our
validation checks for now. So for the ISAD Validation rule we just make sure
that these rules are respected:
* fonds cannot be child of collection
* collection cannot be child of fonds
* sub-fonds cannot be child of collection
* all levels in both hierarchy option 1 or option 2 are optional. The only logic
we are validating is that an ancestor level is not added as a descendant (e.g. a
fonds cannot be a child of a file, a series cannot be a child of an item, a
collection cannot be a child of a series, etc)
hierarchy option 1
===================
Fonds
^
Sub-fonds
^
Series
^
Sub-series
^
File
^
Item
hierarchy option 2
==================
Collection
^
Series
^
Sub-series
^
File
^
Item
>
> Regards,
>
> --
> Jes�s Garc�a Crespo
>
> --
>
> You received this message because you are subscribed to the Google
> Groups "Qubit Toolkit Developers" group.
> To post to this group, send email to qubi...@googlegroups.com.
> To unsubscribe from this group, send email to
> qubit-dev+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/qubit-dev?hl=en.
Regardless, the ability to sort the Level of Description taxonomy and then
enforce those ordered hierarchy levels as a Validation rule, will be a high
priority requirement for 1.1. If we can't provide that via NestedSet ordering
and treeview drag-n-drop then we may have to look at an alternative work-around
(i.e. adding a sort/weight property for the Level Of Description taxonomy)
We can simply ignore any Levels that may have been custom added by users in our
validation checks for now. So for the ISAD Validation rule we just make sure
that these rules are respected:
* fonds cannot be child of collection
* collection cannot be child of fonds
* sub-fonds cannot be child of collection
* all levels in both hierarchy option 1 or option 2 are optional. The only logic
we are validating is that an ancestor level is not added as a descendant (e.g. a
fonds cannot be a child of a file, a series cannot be a child of an item, a
collection cannot be a child of a series, etc)