[BUG] Unusual Behavior for Local User Portal after Bind Site to Template

[BUG] Unusual Behavior for Local User Portal after Bind Site to Template

[BUG] Unusual Behavior for Local User Portal after Bind Site to Template
[BUG] Unusual Behavior for Local User Portal after Bind Site to Template
2025-07-17 03:48:05 - last edited 2025-07-21 05:10:20
Tags: #Controller #Site Template
Hardware Version: V1
Firmware Version: 5.15.24.100

Hi Team,

I've identified consistently reproducible bugs related to the "Site Template" feature, specifically impacting the Hotspot Local User Portal functionality. 

 

Hotspot Local User Portal Disappears After Site Template Operations

Impact: In both scenarios, the loss of the assigned portal prevents all users from logging in, rendering the hotspot unusable.

 

Scenario A: Binding an Existing Site to a Template

  • Steps to Reproduce:
    1. Configure a site without an assigned site template.

    2. Within this site, navigate to the Hotspot menu and configure Local User Access.

    3. Assign a specific portal to a local user.

    4. Bind this configured site to a new site template

  • Expected Result: The previously assigned portal for the local user should remain intact.

  • Actual Result: The assigned portal is removed.

 

Scenario B: Re-applying a Site to its Site Template

  • Steps to Reproduce:

    1. Have a site already configured with a site template.

    2. (Optional) Override some configurations on this site if desired, though not strictly necessary to reproduce the bug.

    3. Re-apply the same site template to this site.

  • Expected Result: The previously assigned portal for the local user should remain intact.

  • Actual Result: The assigned portal is removed.

 

Reassigning the Same Portal Value Leads to Binding Error

Scenario: After a portal has disappeared (as described in bug 1), attempting to reassign the exact same portal value that was previously configured.

  • Steps to Reproduce:

    • Reproduce Bug 1 (Scenario A or B) where the portal is gone.

    • Attempt to reassign the exact same portal that was previously assigned (and disappeared) to the local user.

  • Expected Result: The portal should be successfully reassigned.

  • Actual Result: The Omada interface displays a binding error, preventing the re-selection of that specific portal value.

  • Workaround: To reassign the portal, I must first select the "Select All" option for portals, then deselect and re-select the desired portal for each user that I have. This is an unnecessary and cumbersome step.

 

  0      
  0      
#1
Options
3 Reply
Re:[BUG] Unusual Behavior for Local User Portal after Bind Site to Template
2025-07-18 09:45:02 - last edited 2025-07-21 05:10:20

Hi  @riandy 

 

Thanks for posting here.

 

This is not a bug. You have a slight misunderstanding about the site template feature.

The configurations you make on individual sites will not automatically sync to the site template. And the site template will override the site settings.

Please have a look on the following notice/explanation:

  0  
  0  
#2
Options
Re:[BUG] Unusual Behavior for Local User Portal after Bind Site to Template
2025-07-21 05:09:51 - last edited 2025-07-21 05:11:39

  @Vincent-TP

 

thanks for the reply. I may not understand here, let say that I create the portal from the template and re-apply it again (due unrelated to portal changes has been overrode, for example) to this particular site, I need to reconfigure all the users that has been configured with the portal? FYI, the user still there but the portal is gone. It cause user cannot login at all.

 

All the portal for the user gone. I need to readd the portal that has not been changed before.

 

For Scenario A, yes I understand the site template will override the site config means the portal configured before will gone.

 

But for Scenario B, will it the same? the portal configuration is came from site template, not the individual site configuration.

 

And how about the second bug that I cannot select the exact same name with the previous portal? this not a bug as well? If the portal gone and I try to select one of the confgured portal it will failed. I need to choose the `Select All` first before I can choose it. I think this is valid bug

  0  
  0  
#3
Options
Re:[BUG] Unusual Behavior for Local User Portal after Bind Site to Template
2025-07-23 06:23:22

Hi  @riandy 

 

Thank you so much for the explanation. I didn't understand you clearly before.

 

Now it's clear and I had reproduce this locally.

 

I had forwarded this feedback to our team and they will work with this ASAP. 

 

Thanks again for your feedback.

  1  
  1  
#4
Options