Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
Hey Paul,
I’m glad you got it working! Depending on the database configuration, the discrepancy in ownership can certainly cause errors that range from subtle and weird to disastrous and disabling, so it’s definitely something you’d want to correct. Ownership and permissions, across the database, service users (i.e. postgres, tomcat7) and groups, and folder permissions and ownership can wreak havoc.
As for the xhbm_configuration table, I’m at a loss to explain how that happened. Fiirst, that’s not really something we can add to the xnat-update.sql script: the configuration stuff is part of a set of libraries that we use that are based on Hibernate, while the update SQL scripts are generated by XFT, which is the core XNAT data-type management framework. They share the same database and a few other things, but for the most part exist in two separate worlds inside of XNAT. That means that the code that generates the xnat-update.sql script is simply unaware of the Hibernate-based classes and has no idea that anything in there has even changed.
Now, for the *most* part, Hibernate will actually update its tables on its own at start-up time. There are some occasional glitches in this that require manual intervention. If, for example, you change the type of a column from text to integer, Hibernate won’t update the column, on the not-unreasonable basis that there’s a high chance of losing data in the conversion.
That said, this is rather weird, since the configuration data type uses the standard NRG library persistence framework built on top of XNAT. How the ID is generated is actually built into the base framework and not into the configuration library itself. That means, if something changed in the ID generation, it should affect ALL Hibernate-based entities, of which we have quite a few, and not just one particular class. Since it’s not doing that, I can’t really say what might have happened to make that get out of sync. Generally, I haven’t seen any issue with the limited changes we made to the entity framework on the update. Obviously something happened in this case… not sure!
--
You received this message because you are subscribed to a topic in the Google Groups "xnat_discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xnat_discussion/f2iq3_20CZ0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xnat_discussi...@googlegroups.com.
To post to this group, send email to xnat_di...@googlegroups.com.
Visit this group at http://groups.google.com/group/xnat_discussion.
For more options, visit https://groups.google.com/d/optout.
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
Rick Herrick
Sr. Programmer/Analyst
Neuroinformatics Research Group
Washington University School of Medicine
I believe the old bulk DICOM Headers view in the prearchive was removed in 1.6.3 due to usability issues. However, you can now review DICOM headers on a per-session basis. Highlight a session in the prearchive, click the Details button in the right panel, and the detailed view page should support viewing the dicom headers for each scan (as well as snapshots and downloading the files).
Tim