Patch for 4.5.x w.r.t #892?
Closed this issue · 4 comments
This commit seems to be part of the resolution for #892. It is correctly present in the 5.x releases, but could not find it in the 4.x releases, although the changelog of 4.5.15 does speak about resolving #892 in the same way as the changelog of 5.1.13 does.
In particular, in the class tools/src/main/java/org/semanticweb/owlapi6/utility/OWLEntityRenamer.java
the following method
public List<OWLOntologyChange> changeIRI(IRI iri, IRI newIRI)
seems to instantiatiate the OWLObjectDuplicator as
OWLObjectDuplicator dup = new OWLObjectDuplicator(m, uriMap);
instead of
OWLObjectDuplicator dup = new OWLObjectDuplicator(m, uriMap, new RemappingIndividualProvider(false, m.getOWLDataFactory()));
which seems to be causing e.g. this problem.
One of the OWLObjectDuplicator constructs leaves the anon remapper null.
@ignazio1977 thanks for the comment - what sort of resolution has this issue then? Do you consider it a bug in 4.5.x? Shall another ticket be created for it?