task #9189
closedMove datasource view to taxeditor.local
100%
Description
As the datasource view is only needed for local mgd. it can be moved to taxeditor.webapp
This way maybe the datasource dependencies can be used from taxeditor.webapp too and can be removed in taxeditor.cdmlib.
Also when handling taxeditor.webapp as loadable plugin these dependencies are not needed at all anymore.
This also includes the dialogues opened within the datasource view.
Problems need to be solved:
after moving all datasource/managed server related classes results in problems concerning the login dialog because it uses these classes.
Therefore we need another login dialog containing the managed server in webapp which is used when the webapp plugin is loaded.
Files
Related issues
Updated by Andreas Müller over 3 years ago
- Related to feature request #5752: Reduce TaxEditor size added
Updated by Andreas Müller over 3 years ago
- Related to feature request #9154: Further reduce TaxEditor size by cleaning up dependencies and making taxeditor.webapp plugin optional added
Updated by Andreas Müller over 3 years ago
- Related to task #9119: Remove schema create and schema update functionality from datsource view added
Updated by Katja Luther over 3 years ago
- Target version changed from Release 5.18 to Release 5.19
Updated by Andreas Müller over 3 years ago
- Target version changed from Release 5.19 to Release 5.18
Updated by Andreas Müller over 3 years ago
- Related to feature request #9190: Make taxeditor.local a loadable plugin not installed by default added
Updated by Andreas Müller over 3 years ago
- Related to feature request #9204: Update cdmlib and taxeditor dependencies added
Updated by Katja Luther over 3 years ago
- Description updated (diff)
- Status changed from New to In Progress
Updated by Katja Luther about 3 years ago
- Status changed from In Progress to Resolved
Updated by Katja Luther about 3 years ago
yes, please check whether everything still works.
Updated by Katja Luther about 3 years ago
- Assignee changed from Katja Luther to Andreas Müller
- % Done changed from 0 to 60
Updated by Andreas Müller about 3 years ago
- File picture929-1.png picture929-1.png added
Title translations are missing:
Updated by Andreas Müller about 3 years ago
- Status changed from Resolved to Feedback
- Assignee changed from Andreas Müller to Katja Luther
The "New" button is missing.
Updated by Andreas Müller about 3 years ago
The finish button does not seem to work anymore (when using clone).
Updated by Katja Luther about 3 years ago
Andreas Müller wrote:
The "New" button is missing.
Shouldn't the new button should be removed in #9119?
Updated by Andreas Müller about 3 years ago
Entering a name (or other information) now is very fast. It was slow before because I think there was always done some duplication check after each key stroke. It is good that it is faster now but I am afraid some functionality got lost.
Updated by Andreas Müller about 3 years ago
Updated by Katja Luther about 3 years ago
Andreas Müller wrote:
Entering a name (or other information) now is very fast. It was slow before because I think there was always done some duplication check after each key stroke. It is good that it is faster now but I am afraid some functionality got lost.
if a database with same name already exist, you get a message and it is not possible to finish
Updated by Katja Luther about 3 years ago
Andreas Müller wrote:
Katja Luther wrote:
Andreas Müller wrote:
The "New" button is missing.
Shouldn't the new button should be removed in #9119?
#9119 is about schema create and update, not about create new datasource.
Also it was closed in 5.17 but in 5.17 the New button still existed.
sorry, I added the menu item again.
Updated by Katja Luther about 3 years ago
Andreas Müller wrote:
The finish button does not seem to work anymore (when using clone).
This is caused by java.lang.NoClassDefFoundError: com/mchange/v2/ser/Indirector, this is only the case for mysql databases, for h2 it works as expected.
Updated by Andreas Müller about 3 years ago
Katja Luther wrote:
Andreas Müller wrote:
The finish button does not seem to work anymore (when using clone).
This is caused by java.lang.NoClassDefFoundError: com/mchange/v2/ser/Indirector, this is only the case for mysql databases, for h2 it works as expected.
Looks like mchange-commons-java is missing (https://stackoverflow.com/questions/28977313/caused-byjava-lang-noclassdefrounderrorcom-mchange-v2-ser-indirector). I will try to fix this in dependencies.
Updated by Andreas Müller about 3 years ago
Katja Luther wrote:
Andreas Müller wrote:
The finish button does not seem to work anymore (when using clone).
This is caused by java.lang.NoClassDefFoundError: com/mchange/v2/ser/Indirector, this is only the case for mysql databases, for h2 it works as expected.
The dependency mchange-commons-java which includes com/mchange/v2/ser/Indirector definetely exists for taxeditor.local. Can you please check the stacktrace which class loader tries to use it. So can you provide the full stack trace.
Also the question is why the exception is swallowed. Shouldn't it be thrown?
Updated by Katja Luther about 3 years ago
Andreas Müller wrote:
Katja Luther wrote:
Andreas Müller wrote:
The finish button does not seem to work anymore (when using clone).
This is caused by java.lang.NoClassDefFoundError: com/mchange/v2/ser/Indirector, this is only the case for mysql databases, for h2 it works as expected.
The dependency mchange-commons-java which includes com/mchange/v2/ser/Indirector definetely exists for taxeditor.local. Can you please check the stacktrace which class loader tries to use it. So can you provide the full stack trace.
Also the question is why the exception is swallowed. Shouldn't it be thrown?
The exception is catched in rcp code (Window.class), there is no stacktrace but the detail message is: "com.mchange.v2.ser.Indirector cannot be found by eu.etaxonomy.taxeditor.cdmlib_5.18.0.qualifier"
and the classLoader is EquinoxClassLoader
Updated by Andreas Müller about 3 years ago
Katja Luther wrote:
Andreas Müller wrote:
Katja Luther wrote:
and the classLoader is EquinoxClassLoader
Equinox is probably the Classloader for all. What I meant is, to wich module does it belong, taxeditor.local, taxeditor.cdmlib or even another (do I understand correctly that each model has its own classloader?
Updated by Andreas Müller about 3 years ago
Katja Luther wrote:
Andreas Müller wrote:
Katja Luther wrote:
Andreas Müller wrote:
The "New" button is missing.
...
sorry, I added the menu item again.
Can you move it to the top. That is where it was before.
done
Updated by Andreas Müller about 3 years ago
- Subject changed from Move datasource view to taxeditor.webapp to Move datasource view to taxeditor.local
Updated by Andreas Müller about 3 years ago
- Status changed from Feedback to Closed
- % Done changed from 60 to 100
This works now but there are still open issues to solve before all cdmlib-db stuff can fully migrate to taxeditor.local. Handled in #9341