Giter VIP home page Giter VIP logo

Comments (4)

lirantal avatar lirantal commented on July 4, 2024

I'm not aware of any such issue. Can you help me debug it and provide more information?
Which options exactly cause this when you toggle them on?

The only thing that page is doing is querying the DB, there's no other logic there AFAIR.
Maybe the problem is that if you toggle a lot of the options then it hits the query parameters limit in PHP?

from daloradius.

ioudas210 avatar ioudas210 commented on July 4, 2024

Sure, let me provide some more information.

I have tried this with a single change. Right now im in the operator ACL page. I select

Reporting | Status | rep_stat_server.

Select disabled. Then once i hit apply. the page stops entirely. If i refresh the page. I get notification that the form data will not be saved and it just sits indefinitely.

Id say literally 1/2 the options via a single select disabled do this.

Management | Proxys | mng_rad_proxys_edit

Accounting | General | acct_nasipaddress

Are other examples of this which just hang the page entirely.

It would also be nice to mass disable a lot of options. Instead of having 100 manual selections.

If helpful i can provide video and a list of options that do not work by default.

Id also note that manually disabling 100 options by hand is beyond tedious.

from daloradius.

ioudas210 avatar ioudas210 commented on July 4, 2024

Did some more testing on this bug. Once a user applies a setting in this page. The get for the url for the username disappears on edit page. The url goes from: config-operators-edit.php?operator_username=frontdesk
to: http://serverurl/config-operators-edit.php

And no other edits can be placed at this time, even when looking at the edit view.

I noticed this also occurs in other pages. Making me go back through the menus.

Feel free to close if this is expected behavior, but that being said. Im a computer programmer who found it more than confusing.

from daloradius.

lirantal avatar lirantal commented on July 4, 2024

you said:

Select disabled. Then once i hit apply. the page stops entirely. If i refresh the page. I get notification that the form data will not be saved and it just sits indefinitely.

is it actually submitting and saving or not?
if it's not, I'd check about the php setting for the maximum amount of HTML attributes that can be sent, it probably hit that limit (IIRC around 1024 or something like that).
Also, always check the logs and try to figure out why exactly the app is crashing.

The username query parameter that disappears from the URL is a side-effect and I think this is how it works but TBH I'm not sure as I didn't use it for a while.

from daloradius.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.