
|
If you were logged in you would be able to see more operations.
|
|
|
Sakai
Created: 06-Aug-2007 15:23
Updated: 23-Oct-2008 07:48
|
|
| Component/s: |
Citations (SVN Module)
|
| Affects Version/s: |
post-2.4
|
| Fix Version/s: |
None
|
|
| 2.4.x Status: |
None
|
| 2.5.x Status: |
None
|
| 2.6.x Status: |
None
|
|
If a file-name returned by configService.getDatabaseHierarchyXml() was not supplied among the values injected at start-up time, the file will not have been loaded into the cache, and it will never be loaded. So users requiring that particular set of categories will never be allowed to use library search.
In contrast, when a request is received requiring a config.xml file that was not loaded at startup, the new file is cached and the new file-name is added to the list of files being watched for changes.
|
|
Description
|
If a file-name returned by configService.getDatabaseHierarchyXml() was not supplied among the values injected at start-up time, the file will not have been loaded into the cache, and it will never be loaded. So users requiring that particular set of categories will never be allowed to use library search.
In contrast, when a request is received requiring a config.xml file that was not loaded at startup, the new file is cached and the new file-name is added to the list of files being watched for changes. |
Show » |
|
Initially, the config file behavior was as Jim described it in the problem description - you could add new files "on-the-fly", and they would be added to both the cache and the "watch list".
I wound up (kind of arbitrarily) eliminating that feature for now - I ran into problems implementing it for the category files, and I didn't want the category and configuration files to behave differently. If this is something we see as critical, we can look at it again.
For now, it probably makes sense to leave this assigned to me.