It looks like there is some problem regarding the automatically Region Name setup on empty component metadata field.

I currently have this setup on my component template: enter image description here

From my understanding the Region Name should then be TelenorHeaderStart (with excluded module name).

When I run the code I get this problem where the module name is not excluded after all: enter image description here

That in the end creates a bug where region is not found (returned null) when this code is run (in RegionTag.java) where name variable is equal to "TelenorHeaderStart":

if (parentRegion != null) {
    region = parentRegion.getRegions().get(name);

Am I doing something wrong? Is this a bug, or intended behavior? I found out that if I set the Region Name in the meta data field to "TelenorHeaderStart" it works as is should be. But then there seem to be something wrong regarding that you cant leave this field empty, and the current message displayed on the metadata schema.

Just trying to figure out if I have something wrong with my setup.

  • I don't understand the issue you are having with the work-around of explicitly specifying the Region Name... Sep 16, 2016 at 11:29
  • Okay, well I guess it's not really an issue then if that work-around is the correct approach. I just was wondering why the empty region name was not working, and if I was doing something wrong. Sep 16, 2016 at 11:41
  • 1
    Ah, OK. You mean that the field description suggests that this work-around should not be needed. That's correct; it should not be needed (see my Answer below). :-) Sep 16, 2016 at 11:43

1 Answer 1


That is a bug. I vaguely remember such an issue in DXA Java. If you're observing it in DXA 1.4 still, it might have been fixed in DXA 1.5.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.