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
When users have installed an application called app that depends on the app-lib (think tei-publisher, or anything depending on shared-resources) updates can break installation in the following way:
app 1.0 depends on app-lib 1.0
app 1.1 depends on app-lib 1.1
Packemanager shows two new updates: One to app, one to app-lib.
If users attempt to update app first, the process fails silently, since the requested app 1.1 dependency on app-lib 1.1 is at this point not fulfilled. app can no longer be reached from dashboard.
what did I expect
When first installing apps, dependencies are automatically resolved and installed. I d expect the same behavior for updates.
The old package manager displays installation errors in a pop-up warning, the new one should do something similar. Silent failures are never a good thing.
to reproduce
make sure tei-publisher 3.0.x, and tei-publisher-lib 2.2.0 are installed.
open package manger to see two available updates
update tei-publisher first (and lib second or not at all)
check the logs, and try to access tei-publisher either from dashboard, launcher.
Alternatively, refresh browser and look for tei-publisher under installed apps.
The text was updated successfully, but these errors were encountered:
@eXist-db/exist-webcomponents any comments? see also #10 in both instances the fact that intallation errors are no longer displayed creates problems for users
this ticket does not belong here but to exist-db/packageservice. This is the app querying the repo. The code has been factored out as it is used by launcher and packagemanager.
@duncdrum regarding errors - yes, that's true and due to the fact that the server is returning 200 also for errors while client expects an error response for its handler to fire. Thus each ajax request needs to check whether response didn't contain an error. In some place this has been done but not in all.
what is the problem?
When users have installed an application called
app
that depends on theapp-lib
(think tei-publisher, or anything depending on shared-resources) updates can break installation in the following way:app
1.0 depends onapp-lib
1.0app
1.1 depends onapp-lib
1.1Packemanager shows two new updates: One to
app
, one toapp-lib
.If users attempt to update
app
first, the process fails silently, since the requestedapp
1.1 dependency onapp-lib
1.1 is at this point not fulfilled.app
can no longer be reached from dashboard.what did I expect
When first installing apps, dependencies are automatically resolved and installed. I d expect the same behavior for updates.
The old package manager displays installation errors in a pop-up warning, the new one should do something similar. Silent failures are never a good thing.
to reproduce
The text was updated successfully, but these errors were encountered: