Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Won't Fix
-
None
-
None
Description
Description
NumberFormatException when importing Xporter configuration
How to reproduce
- Export the configuration from one server with version 6.8.4 or later
- Import the configuration in another server with the same Xporter version
Actual result/Attachments
Error message generated in the log:
.... /secure/admin/views/com.xpandit.plugins.jiraxporter.ExportImportSettings!save.jspa [c.x.j.manager.impl.XporterImportSettingsServiceImpl] Something went wrong in the import process! java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:592) at java.lang.Integer.parseInt(Integer.java:615) at com.xpandit.jiraxporter.manager.impl.XporterImportSettingsServiceImpl.getDefaultValue(Unknown Source) at com.xpandit.jiraxporter.manager.impl.XporterImportSettingsServiceImpl.restoreSchemes(Unknown Source) at com.xpandit.jiraxporter.manager.impl.XporterImportSettingsServiceImpl.importSettings(Unknown Source) at com.xpandit.jiraxporter.action.XporterExportImportSettingsAdmin.doSave(Unknown Source) ...
Expected result
The import works, importing all the settings without returning errors.
Version
- 6.8.4, ..., 6.9.6