• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Forwarded to devs extension panel.ini: when you have duplicate sections, only the last one is recognized

Maarten

Golden Pleskian
Plesk Guru
Username:

TITLE

extension panel.ini: when you have duplicate sections, only the last one is recognized

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

CentOS Linux 7.9.2009 (Core)
Product Plesk Obsidian Version 18.0.42

Panel.ini Editor Version 3.2.5-57

PROBLEM DESCRIPTION

First of all: Yes, I know this has been mentioned before on this forum and yes, you should be careful when you add a new section to the panel.ini. But still, it can save a lot of time when you get a warning upon saving the panel.ini after you added something to it.

When you have duplicate sections in the panel.ini, only the last one is recognized by Plesk.

For example:

[promos]
enabled = off

.......
lot's of other entries
.......

[promos]
newFeatures = true

Only the last one will become active, the first one is ignored.

STEPS TO REPRODUCE

- Add a duplicate sections to the panel.ini using the extension, like for example:

[promos]
enabled = off

[promos]
newFeatures = true

- Go to panel.ini overview and click on "Modified"
- Only the last line is active and recognized:

[promos]newFeaturestrue ( default value: true )

ACTUAL RESULT

Only the last section is active and recognized:

[promos]newFeaturesfalse ( default value: true )

EXPECTED RESULT

It would be nice if you get a warning upon saving the panel.ini after you added something to it.

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Help with sorting out
 
Back
Top