If you're importing dates in a language other than english be sure to set the locale appropriately before importing dates; the parser uses the current locale
amandeep-kapila
@amandeep-kapila
Ok.
Aaaamu
@aaaamu_gitlab
hey all, I am getting: "Could not add preferred label to ca_objects. Record was deleted because no preferred label could be applied: Name must not be more than 1024 characters long" on data import but the field contains less then 100 characters. any ideas?
Kaiami
@Kaiami
Can the most recent version of CollectiveAccess play with ElasticSearch or Solr? (Last time we looked, CollectiveAccess was something like 6 major versions out of date on ElasticSearch) (Today, it has decided to rebuild search indexes very slowly, for reasons we haven't yet figured out.)
CollectiveAccess
@collectiveaccess
@Kaiami The develop code runs with Elastic 6.x or 7.x
SOLR is not currently supported, although it might be again one day
@aaaamu_gitlab Can you provide some context for this? Is it happening during a data import? Or via the API?
Assuming it was the data importer, what is the data you were trying to import?
If it's CSV or TAB data perhaps the delimiter is wrong/missing and fields are getting merged into a long string of text
Try running the import in DEBUG mode and then look in the log for the parsed content (the "content tree") created just prior to import
That's show you how the data was pulled out of the source via the mapping
and what that 1024+ character preferred label actually is
@Kaiami you may want to figure out why mysql is slow before you start mucking with Elastic
amandeep-kapila
@amandeep-kapila
Editing the ca_objects_default_html.php file for display customization of pawtucket. There is a directive ca_objects.dateSet.setDisplay.Value. It is displaying nothing currently for me. What field it is supposed to fetch? I am fetching the date using ca_objects.unitdate.
CollectiveAccess
@collectiveaccess
You should change it to match the fields defined in your system
shipreich
@shipreich
We've added the field to the representation for video where you can add a VTT or SRT subtitle file, but there's no indication on the viewer controls to play subtitles. Is there a certain viewer that needs to be used or a conf setting somewhere to display these?
CollectiveAccess
@collectiveaccess
@shipreich Back-end or front-end. What version(s)?
shipreich
@shipreich
Can't find controls on the backend or frontend to play the captions. 1.7.6
CollectiveAccess @collectiveaccess Sorry for bothering you again, but I am still facing the browser display problem. I have tried with all the browsers available to me, i.e. Chrome, Mozilla, Edge, Opera, Brave etc., the issue is there. Actually the problem surfaces once I browse the objects of a collection in a map or timeline. Afterwards, when I browse away to other pages and return back to collections, I can see the list of all the collections but can't list objects in any collections. It loads the collection page, tries to list the objects but the preprocessor vanishes after sometime, leaving behind a blank page. It seems the problem is related to the sessions/cookies/cache etc. If I clear the browser data, collection list starts working again.
CollectiveAccess
@collectiveaccess
@shipreich They work ok on the demo, if you attach a VTT file to the representation
(note that the demo resets every night, so this will not be there tomorrow)
See around 52 seconds in that video of the dancer. Note that the subtitles are not from that video. I just grabbed two files I have laying around.
CollectiveAccess
@collectiveaccess
The development branch (which the demo uses) is using a newer player than 1.7.14 does, and the new player (Plyr.js) is much more fussy about well-formattedness of subtitles. The old player (video.js) would show all sorts of titles, valid of not. With plyr they need to actually conform to the standard. Many don't.
@amandeep-kapila I'll take a closer look next week.
Greetings Everyone, Currently i have created metadata type { List } called Image Statues and then i have created sub element type { text } in it called comment currently i want to put this comment in hide if selected condition but its not appearing in the condition in Image Status metadata what should i do, note that i want them to be in same box. kindly check the attachment Thanks in advance.
yes, it says in valid , i have used euro format for example 13/07/1908 ( 13 day 07 month ) and it says In Valid, Kindly check the attachment. how to solve this issue
note that i have tested replacing day with month and its working even im using euro format
CollectiveAccess
@collectiveaccess
Make sure your currently selected locale uses euro dates too. Eg. in user prefs set it to a locale that's not en_US
peter d'antonio
@psdantonio
am i right in thinking that making records filter-able by the user who created them (within providence browse.conf) isn't an easy .conf addition? i've seen that you can pull that data from getCreationTimestamp() but am assuming that data is stored in a completely different way
CollectiveAccess
@collectiveaccess
@psdantonio It is not currently possible to browse on creating user. If you need that please create a github issue for it.