[MAGNOLIA-6897] DirectoryWatcher on Windows requires restart when adding i18n bundle file(s) Created: 06/Dec/16  Updated: 22/May/17  Resolved: 20/Feb/17

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 5.5, 5.5.1
Fix Version/s: 5.5.3

Type: Bug Priority: Major
Reporter: Christoph Meier Assignee: Ilgun Ilgun
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CE, Windows 10.1


Issue Links:
Relates
relates to MAGNOLIA-6837 When path to yaml file changed window... Closed
relation
is related to MAGNOLIA-6945 light modules added during runtime no... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Basel 84
Story Points: 13

 Description   

This issue has been found while adding additional i18n bundle files to the magnolia.resources.dir.

Steps to reproduce:

  • install fresh 5.5 CE bundle
  • add $context/modules/app-tutorial/i18n folder + en and de properties files
  • changes were not picked up in (Products) app.
  • after restart the changes were picked up and all subsequent changes to the files were also picked up immediately.

(The issue was found by ruths while working on DOCU-890



 Comments   
Comment by Ruth Stocks [ 01/Feb/17 ]

I retested this on 5.5.1 (EE Pro) with the same result - i18n changes on the file system were not picked up until I restarted

Comment by Ruth Stocks [ 07/Feb/17 ]

To clarify the steps to reproduce, this is what I did:

  1. Installed a fresh 5.5.1 CE demo bundle with the app-tutorial jar in the /lib folder.
  2. Manually created a folder structure /app-tutorial/i18n in /modules folder.
  3. Added app-products-messages_en.properties to i18n folder.
  4. Changed a property value in the file.
  5. The change was not displayed in the Products app.
    Ilgun observed over Skype.
    I then did the same exercise again, but this time copied the /app-tutorial/i18n/app-products-messages_en.properties file/folder structure from elsewhere, with the same result.
    In both tests the changes were only picked up after restarting Magnolia
Comment by Philip Mundt [ 20/Feb/17 ]

ruths reported that:

It worked on the latest 5.5.3 community demo snapshot.

Generated at Mon Feb 12 04:18:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.