Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decide about Kernel::Output::HTML::Notification::AgentSessionLimit #734

Closed
2 tasks done
bschmalhofer opened this issue Jan 18, 2021 · 5 comments
Closed
2 tasks done
Assignees
Labels
question Further information is requested selenium Related to fixing or improving testing with Selenium
Milestone

Comments

@bschmalhofer
Copy link
Contributor

bschmalhofer commented Jan 18, 2021

As of OTOBO 10.0.7 the notification Kernel::Output::HTML::Notification::AgentSessionLimit is only a stub. In OTRS this notification is presented when the session limit is approached. As OTOBO has no session limit I would surmise that this notification is not needed in OTOBO. @StefanRother-OTOBO: Is that correct?

When no session limit checks are needed, then it should be decided whether this notification should be kept for just in case, or removed completely.

TODO:

  • decide and act accordingly
  • fix or remove the TODO test in scripts/test/Selenium/Agent/Login.t
@bschmalhofer bschmalhofer added question Further information is requested selenium Related to fixing or improving testing with Selenium labels Jan 18, 2021
@bschmalhofer bschmalhofer added this to the OTOBO 10.1 milestone Jan 18, 2021
@svenoe
Copy link
Contributor

svenoe commented Jun 9, 2021

I think we can remove it. In the end the code is not lost as it's in git. There is no need for keeping it "just in case".

@bschmalhofer
Copy link
Contributor Author

Ah, I just found out that there still is a session limit in OTOBO. See Framework.xml:

    <Setting Name="AgentSessionLimit" Required="0" Valid="1">
        <Description Translatable="1">Sets the maximum number of active agents within the timespan defined in SessionMaxIdleTime.</Description>
        <Navigation>Core::Session</Navigation>
        <Value>
            <Item ValueType="String" ValueRegex="^[0-9]{1,8}$">100</Item>
        </Value>
    </Setting>

The relevant check is in Kernel/System/AuthSession.pm . Now tthis is a bit inconsistent. When there is a session limit, then a notification that the limit is approaching does make sense. Or should the agent session limit feature be also removed from OTOBO?

@bschmalhofer
Copy link
Contributor Author

bschmalhofer commented Jun 11, 2021

Discussed this with @svenoe and @StefanRother-OTOBO . The conclusion is:

  • The agent session check will be kept as currently set up, currently the limit is 100 sessions
  • The notification that the limit is approaching will reactivated,

@bschmalhofer
Copy link
Contributor Author

Started to reintegrate the config, tests and implementation of the notification module.

bschmalhofer added a commit that referenced this issue Aug 26, 2021
Contrary to OTRS 6, this does not use the SystemData, only considers the SysConfig.
bschmalhofer added a commit that referenced this issue Aug 26, 2021
bschmalhofer added a commit that referenced this issue Aug 26, 2021
…limit-notification

Issue #734 reinstate session limit notification
@bschmalhofer
Copy link
Contributor Author

bschmalhofer commented Aug 26, 2021

Tests look fine. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested selenium Related to fixing or improving testing with Selenium
Projects
None yet
Development

No branches or pull requests

3 participants