Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properties for configuration files are broken #565

Closed
rwalravens opened this issue Apr 19, 2022 · 3 comments
Closed

Properties for configuration files are broken #565

rwalravens opened this issue Apr 19, 2022 · 3 comments

Comments

@rwalravens
Copy link

Since 5.64.0 properties are broken.

When a configuration file is set as active, the following error occurs:

The Checkstyle rules file could not be parsed.
Property ${............} has not been set
The file has been blocked for 60s.

This was configured for my project (checkstyle-idea.xml):

<entry key="active-configuration" value="LOCAL_FILE:D:/projects/checkstyle.xml:CBSS" />
<entry key="checkstyle-version" value="8.33" />
<entry key="copy-libs" value="true" />
<entry key="location-0" value="BUNDLED:(bundled):Sun Checks" />
<entry key="location-1" value="BUNDLED:(bundled):Google Checks" />
<entry key="location-2" value="LOCAL_FILE:D:/projects/checkstyle.xml:CBSS" />
<entry key="property-2.checkstyle.suppressions.file" value="D:\projects\checkstyle-suppressions.xml" />
<entry key="scan-before-checkin" value="false" />
<entry key="scanscope" value="JavaOnlyWithTests" />
<entry key="suppress-errors" value="false" />

Since 5.64.0, in the settings screen, the value of property-2 is not shown anymore, and when altered, it is not serialized anymore.

@jshiell
Copy link
Owner

jshiell commented Apr 19, 2022

Ah bugger, that part was touched by the pull request in 5.64. I’ll withdraw the release until I can have a look - thanks very much for letting me know!

@jshiell
Copy link
Owner

jshiell commented Apr 20, 2022

A good start at least - I can reproduce this. It appears to be related to active configurations only - the values are set correctly from the properties window, but if you quite and restart then they are not loaded. If the configurations are inactive then they are loaded.

@jshiell
Copy link
Owner

jshiell commented Apr 24, 2022

Fixed in 5.65.0.

@jshiell jshiell closed this as completed Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants