Commit graph

3628 commits

Author SHA1 Message Date
jeb228
f0c7ab7b95 The test for an unrecognized literal type was in a place where it could only throw a NullPointerException 2011-02-07 19:02:19 +00:00
rjy7
1b2f7bdf61 NIHVIVO-2028 Display of tab and menu management links is theme-dependent 2011-02-07 18:42:26 +00:00
rjy7
ccfb017593 NIHVIVO-2057 Add additional values to login widget template data model. 2011-02-07 18:23:42 +00:00
bdc34
22be097879 Removing some commented out code from IndividualJena 2011-02-07 17:57:28 +00:00
bdc34
b78d6ed883 Changing IndividualSDB.getMoniker() to return empty string and never null. NIHVIVO-2061 2011-02-07 17:56:16 +00:00
jeb228
a3345f4c53 Prevent a NullPointerException from a null request, by making that test first. 2011-02-07 17:47:22 +00:00
jeb228
2903d0c20d NIHVIVO-1690 Add debug statement 2011-02-07 17:42:34 +00:00
bjl23
46b98262c1 checking for anonymous classes in SimpleReasoner listener 2011-02-07 17:24:03 +00:00
jeb228
b457504a69 Test for a null EditConfiguration was coming too late to prevent a NullPointerException from the call to editConfig.getN3Generator(). Move the test, and add a return statement after forwarding to the error page. 2011-02-07 17:05:22 +00:00
bjl23
015ee15340 NIHVIVO-1987 additional model listeners for VClassGroupCache in SDB 2011-02-07 17:04:40 +00:00
jeb228
3ee3e0bacd Prevent the debug statement from throwing NullPointerException on a null statement. 2011-02-07 16:43:38 +00:00
jeb228
aae6de1752 Prevent the debug statement from throwing NullPointerException on a null individual. 2011-02-07 16:40:57 +00:00
bjl23
5dead7cbd5 improved detection of unformatted SDB store 2011-02-07 15:58:24 +00:00
rjy7
e028e17010 Added template model methods to get first value of data properties and first statement of data props and uncollated object props. Improved efficiency of moniker/preferred title code in person template. Added order by statement to default list view queries so order is not random. 2011-02-07 15:52:51 +00:00
jeb228
ec5283795f A constructor can never return null, but it can throw an exception. So don't bother to test whether the FileInputStream is null; instead, catch a FileNotFoundException. 2011-02-07 15:39:34 +00:00
bjl23
3ad00d0ace NIHVIVO-2049 fix so classes, classgroups, etc. don't get indexed 2011-02-07 15:37:56 +00:00
jeb228
b28fa05ffd A constructor can never return null, but it can throw an exception. So don't bother to test whether the FileInputStream is null; instead, catch a FileNotFoundException. 2011-02-07 15:32:15 +00:00
bdc34
fa5cb40ff7 Fixing error in generation of more link for tabs, list views and search results. NIHVIVO-2050 2011-02-07 15:26:05 +00:00
jeb228
7c2de0dbf2 Because instanceof returns false on null, the explicit test for null would never be reached. 2011-02-07 15:22:36 +00:00
jeb228
eee793bb32 Prevent the debug statement from throwing NullPointerException on a null statement. 2011-02-07 15:20:08 +00:00
jeb228
b901521f7b Prevent the debug statement from throwing NullPointerException on a null Query. 2011-02-07 15:17:58 +00:00
tlw72
1906e6a484 NIHVIVO-2047: modified date-time precision error message 2011-02-07 14:48:30 +00:00
nac26
573aaf3488 NIHVIVO-1603 Forgot to include this crucial piece with my last commit (r7357) 2011-02-06 01:48:33 +00:00
nac26
20ab4cc157 NIHVIVO-1965 Better message for authenticated users with access to the site admin when accessing the site with little or no content. Also refactored BrowseController so that it doesn't attempt to override template and provide it's own message if no content is found. 2011-02-05 17:24:40 +00:00
sjm222
2e9cd79352 fix for NIHVIVO-2043 can't start in SDB mode with empty DB 2011-02-05 14:24:30 +00:00
nac26
5a896aad34 Rolling back 2 files that were unintentionally committed with r7350 2011-02-05 13:17:26 +00:00
rjy7
a9cf814054 NIHVIVO-2038 Cleanup of merge of populated object property list with all possible object properties. Eliminated construction of a list of propertyUris that has to be maintained in parallel to the list of properties, while still not having to instantiate a property for each property uri to check against the list. 2011-02-05 00:07:58 +00:00
nac26
82f24c5966 NIHVIVO-2040 Added data-page attribute on pagination links and removed pageX class since they're no longer needed. This makes it easier to reliably handle multiple digit page numbers without jumping through hoops. Can't rely on .text() do to the "more..." pattern. 2011-02-05 00:07:48 +00:00
bdc34
79ac60c8e8 Moving the check for prohibited from search to Entity2LuceneDoc for performance reasons. 2011-02-04 22:46:08 +00:00
bdc34
d6adc88ef8 Fixing bug in DateTimeWithPrecision that caused it to not accept days greater than 28. NIHVIVO-2016 2011-02-04 22:45:00 +00:00
rjy7
616c74254c Fixed error message on mismatch between default namespace in deploy.properties and the db so that the portal name is not attached to the namespace. Also fixed typo in LuceneSetup message. 2011-02-04 22:37:07 +00:00
rjy7
b931f50cef NIHVIVO-2045 Hide incomplete/malformed links from individualList template, to make things easier (it doesn't have to check the wellformedness of each link before knowing whether to print the ul around the links). 2011-02-04 22:33:45 +00:00
bjl23
f3e76bfb1a NIHVIVO-1370 NIHVIVO-2046 tab editing bugfixes for SDB 2011-02-04 21:49:17 +00:00
bdc34
eae86daac4 Fixing bug where objects of statements would not get added to index. NIHVIVO-2021 2011-02-04 20:54:02 +00:00
bjl23
29169acc5e bugfix for restriction creation - writing to TBox model 2011-02-04 20:39:43 +00:00
bjl23
298ed7b79f NIHVIVO-2039 improvement to population of applicable object properties 2011-02-04 20:39:12 +00:00
bdc34
ea36cea007 removing unnecessary HiddenFromDisplayBelowRoleLevelFilter log message 2011-02-04 19:42:38 +00:00
rjy7
b8fec2e96c NIHVIVO-2038 Improve performance of creating grouped property list by keeping a list of object property uris to check against, so a property doesn't have to be instantiated from the propertyUri in order to check whether it's on the list. 2011-02-04 19:17:44 +00:00
bdc34
0c6aa67e06 Changing getAllPossibleDataPropsForIndividual to only call getVClasses once. NIHVIVO-2002 2011-02-04 18:05:31 +00:00
bdc34
6369c2a333 Adding ${cancelUrl} to MenuN3EditController. NIHVIVO-2023 2011-02-03 22:50:13 +00:00
bdc34
7ed25b3937 Adding code to use AbortSetup to VClassGroupCache 2011-02-03 21:48:44 +00:00
ass92
7f98249f20 NIHVIVO-1962 commented out a line to avoid considering vitro:label property in getLabel method. 2011-02-03 21:01:11 +00:00
rjy7
4508106ba1 NIHVIVO-1370 Display home tab content on vivo-basic home page (and any other theme that still uses tabs) 2011-02-03 20:59:12 +00:00
sjm222
304a1c7b1e NIHVIVO-1843 KB Migration must happen in RDB mode 2011-02-03 20:52:26 +00:00
bdc34
40de34558a Removing highlighting from FreemarkerPagedSearchController.java to improve performance. 2011-02-03 20:30:44 +00:00
bdc34
5302a32096 Getting ride of vitro:keyword in lucene index, adding class names to lucene index. 2011-02-03 20:29:52 +00:00
bdc34
e956a3668a Changing ViewFinder.java to not check the vclasses for custom short views. NIHVIVO-2024 2011-02-03 20:28:36 +00:00
bdc34
8be9eaaeae Adding AbortStartup to LuceneSetup.java 2011-02-03 20:25:36 +00:00
jeb228
281d2de68f NIHVIVO-1814 A login remains in process only if the login widget is reached via the Authenticate servlet. Any other way of reaching the widget means we start over. 2011-02-03 20:02:44 +00:00
bjl23
3bfc823e41 allowing servlet context listeners to prevent other context listeners from running 2011-02-03 19:50:11 +00:00