Note that we do not inherit the reference code - I don't know if this is a factor here?
Another thing we discovered in making test records was that if you don't add in your repository in your archival description in the first instance, then your repository identifier and country code will not be present, so the slug that is created won't fit with the pattern that we have specified in the config settings. I do think this could be a problem for us given that we encourage staff to save their Archival Descriptions regularly whilst they are creating them in order to avoid losing data. It is likely that not all fields will be completed when the record is first saved.
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/4b597e57-46ea-49b4-8353-bf14da8bcda7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Mon, Apr 9, 2018 at 10:53 AM, 'Jenny Mitcham' via AtoM Users <ica-atom-users@googlegroups.com> wrote:
Hi,We are just looking at upgrading from AtoM 2.2 to AtoM 2.4 and we are testing out some of the functionality on a test instance.We very much liked the idea of generating slugs from the unique reference codes in AtoM rather than the non-unique titles so were keen to get going with this. However in our testing just now we discovered this doesn't quite work in the way we would expect.In our config settings we've got it so that the permalink is generated from reference code (repository identifier & country code included).I tried creating a new reference within the hierarchy of a much larger archive with the reference RET/8/11/13/1.I would have expected that this would have produced the slug 'gb-193-ret-8-11-13-1' but actually it produces the slug 'gb-193-ret-ret-8-ret-8-11-ret-8-11-13-ret-8-11-13-1'.This is unexpected and doesn't make for the nice tidy urls we were hoping for!Note that we do not inherit the reference code - I don't know if this is a factor here?Another thing we discovered in making test records was that if you don't add in your repository in your archival description in the first instance, then your repository identifier and country code will not be present, so the slug that is created won't fit with the pattern that we have specified in the config settings. I do think this could be a problem for us given that we encourage staff to save their Archival Descriptions regularly whilst they are creating them in order to avoid losing data. It is likely that not all fields will be completed when the record is first saved.The reason we would like to change our slugs to use the reference code, repository identifier and country code was so that the urls to archival descriptions are short, consistent and predictable but I don't think the functionality meets our needs as it stands so I think we will stick with our slugs as they are in AtoM 2.4.I just thought it would be useful to report this issue to the group.All the best,Jen
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/4b597e57-46ea-49b4-8353-bf14da8bcda7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZKSWptrENc5vEzyT5wzxpmXn2johsC30bUO32vKv07YBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.