Skip to content

[BUG] package manager reports successful installation despite packageservice installation error #18

@duncdrum

Description

@duncdrum

Screenshot 2020-10-11 at 00 13 27

10 Oct 2020 22:25:10,786 [qtp1497538476-26] INFO (Deploy.java [load]:298) - Retrieving package from https://exist-db.org/exist/apps/public-repo/modules/find.xql?name=https%3A%2F%2Fwww.duncdrum.eu%2Fapps%2FcrossRepo&processor=5.3.0-SNAPSHOT&version=1.0.0

10 Oct 2020 22:25:11,271 [qtp1497538476-26] ERROR (Deploy.java [installAndDeploy]:215) - Failed to install dependency from https://exist-db.org/exist/apps/public-repo/modules/find.xql?name=https%3A%2F%2Fwww.duncdrum.eu%2Fapps%2FcrossRepo&processor=5.3.0-SNAPSHOT&version=1.0.0: https://exist-db.org/exist/apps/public-repo/modules/find.xql?name=https%3A%2F%2Fwww.duncdrum.eu%2Fapps%2FcrossRepo&processor=5.3.0-SNAPSHOT&version=1.0.0

java.io.IOException: Failed to install dependency from https://exist-db.org/exist/apps/public-repo/modules/find.xql?name=https%3A%2F%2Fwww.duncdrum.eu%2Fapps%2FcrossRepo&processor=5.3.0-SNAPSHOT&version=1.0.0: https://exist-db.org/exist/apps/public-repo/modules/find.xql?name=https%3A%2F%2Fwww.duncdrum.eu%2Fapps%2FcrossRepo&processor=5.3.0-SNAPSHOT&version=1.0.0

at org.exist.xquery.modules.expathrepo.Deploy$RepoPackageLoader.load(Deploy.java:314) ~[exist.uber.jar:5.3.0-SNAPSHOT]

at … 

no packages were installed
See eXist-db/existdb-packageservice#17

expected behavior

package manager should only report success, when packages are installed successfully.
Maybe two unit tests for successful and failed installs are in order.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions