• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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