• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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