• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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