You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spring Shell 3.x splits parameter values on '=' signs unless they are quoted.
Added comprehensive class-level Javadoc explaining why quotes are required
and the impact of the GfshParser.splitUserInput() behavior.
Changes:
- Added 30+ line class-level documentation explaining Spring Shell 3.x parsing
- Quoted all --auto-serializable-classes and --portable-auto-serializable-classes
parameter values containing '=' (e.g., "com.company.DomainObject.*#identity=id")
- Without quotes: parser splits into ["...#identity", "id"] (2 args)
- With quotes: parser preserves ["...#identity=id"] (1 arg)
This prevents AutoSerializableManager from failing with 'Unable to correctly
process auto serialization init value' when it expects 'param=value' format
but receives only 'param' due to the split.
Tests fixed (4):
- commandShouldSucceedWhenConfiguringAutoSerializableClassesWithPersistence
- commandShouldSucceedWhenConfiguringAutoSerializableClassesWithoutPersistence
- commandShouldSucceedWhenConfiguringPortableAutoSerializableClassesWithPersistence
- commandShouldSucceedWhenConfiguringPortableAutoSerializableClassesWithoutPersistence
All 6 ConfigurePDXCommandIntegrationTest tests now pass.
Copy file name to clipboardExpand all lines: geode-gfsh/src/integrationTest/java/org/apache/geode/management/internal/cli/commands/ConfigurePDXCommandIntegrationTest.java
0 commit comments