[MAGNOLIA-2263] creating or importing a virtualURIMapping folder requires a restart to become active Created: 15/Jul/08  Updated: 18/Dec/15  Resolved: 18/Dec/15

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 3.5.8
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Philippe Marschall Assignee: Tobias Mattsson
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File config.modules.data.virtualURIMapping.xml    
Issue Links:
dependency
depends upon MAGNOLIA-2265 Observe module nodes to automatically... Closed
duplicate
duplicates MAGNOLIA-4090 VirtualUriManager should be reimpleme... 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:

 Description   

Steps to Reproduce

  1. in the configuration folder of your module create a virtual URI mapping
    1. create a folder virtualURIMapping
    2. create a content node eg 'virtualUriTest'
      1. add a node data named 'class' with the value 'info.magnolia.cms.beans.config.DefaultVirtualURIMapping'
      2. add a node data named 'fromUri' with value '/virtualUriTest'
      3. add a node data named 'toUri' with value 'redirect:/.magnolia/pages/adminCentral.html'
  2. alternatively imported the attached xml file to /modules/data

Observed Behavior

  1. the virtual URI mapping is not active, a restart is required

Expected Behavior

  1. the virtual URI mapping is active without a restart


 Comments   
Comment by Magnolia International [ 15/Jul/08 ]

Unless there's another issue, it's only step 1.1 that requires a restart, and that will be covered with MAGNOLIA-2265. (just created the issue, because I thought it was already there, but only MAGNOLIA-1928, which is only slightly related, was already there)

Comment by Philippe Marschall [ 16/Jul/08 ]

That's true, only 1.1 requires a restart. That's the only issue.

Generated at Mon Feb 12 03:35:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.