Opened 17 years ago
Closed 17 years ago
#910 closed defect (fixed)
Plug-ins ignore file set by the auto-detect file format function
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | BASE 2.6 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
This happens in the ReporterMapImporter and in the RawDataFlatFileImporter. I don't know if it happens in other plug-ins as well. I guess the problem is in the web client which forgets the file that was selected in the auto-detection step.
- Create an array design and select file 'A' as the reporter map file. This file can be any file that doesn't match a configured file format.
- Click on the "Import" button and select auto-detect. The 'A' file should already be selected in the 'File' field.
- Click on 'Browse...' and select file 'B' instead. This file should match a defined reporter map file format.
- Click on 'Next...'
- If a file format is found a new page showing more parameters is displayed
- Select 'Reporter map file' parameter.
- The value of this parameter is the 'A' file.
Workarounds:
- Click on 'Browse...' in the last window and select the 'B' file again.
- Don't select file 'A' as a reporter map file in step 1 above.
Change History (2)
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The reason for this behavior is that if a file is already selected as the 'reporter map' file the plug-in sets this file as the default value. This has higher precedence than the most recently used file in CurrentContext which is where the auto-detected file is stored. I guess the priority order should be:
The problem is entirely in the web client code.