Resolution: Won't Fix
Affects Version/s: 6.2.0 CE B1, 6.2.0 CE B3
Environment:Liferay 6.2.0 CE M6 bundled with Tomcat 7.0.40, CentOS 2.6.32-358.6.2.el6.x86_64
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0e3b6a43a2ba504fd360998bb9cc088c7a09c385.
When user sets more Liferay portal instances, sets property file per instance, then in situation when certain properties are set in first property file (e.g. portal-site1.properties) and another instance property file (e.g. portal-site2.properties) or portal-ext.properties file is loaded afterwards and does not have same properties set, then settings such as for document library set in first property file are not taken into account.
Steps to reproduce:
- Set up clean Liferay Portal with default file repository
- Add another portal instance via Control Panel / Portal Instances.
- Create empty instance properties file and set loading these files via http://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/properties-override .
- Add to portal-ext.properties valid login credentials for Amazon S3:
- Add to the instance properties file, which is loaded first (in our test case to portal-site1.properties, log is shown below), valid bucket name setting:
- Restart Liferay Portal
- Upload document to both instances and and check (via Amazon S3 management console) that files are loaded to Amazon S3 storage. Upload fails to any of the instance with incorrect settings, even if bucket name is correctly set in first file.
On the other hand if user defines bucket name property(dl.store.s3.bucket.name=) in second instance property file (e.g. portal-site2.properties), then connection to Amazon S3 starts working and files are being uploaded. But the bucket name is being applied also to first instance even though this instance property file (portal-site1.properties) would be empty or had definition of another bucket name.