Ticket #96 (new defect)

Opened 8 months ago

Machine names do not always allow model creation

Reported by: pag Assigned to: pag
Priority: minor Milestone:
Component: Mulgara Version: 1.2.0
Keywords: graph names Cc:

Description

The server in this scenario was running with the following names: [Gonzo.local, localhost, 127.0.0.1, 10.0.1.2]

Selecting from a remote client using RMI graph names was successful:

select $s $p $o from <rmi://Gonzo.local/server1#>;
[ rmi://10.0.1.2/server1#, http:www.w3.org/1999/02/22-rdf-syntax-ns#type, http://mulgara.org/mulgara#Model ]
1 rows returned

However, creating a graph using this host name failed:

create <rmi://gonzo.local/server1#data>
Error: Could not commit creation of model rmi://gonzo.local/server1#data of type http://mulgara.org/mulgara#Model

Was the problem due to the upper case "G"?

create <rmi://gonzo.local/server1#data>
Error: Could not commit creation of model rmi://Gonzo.local/server1#data of type http://mulgara.org/mulgara#Model

But using the IP works:

create <rmi://10.0.1.2/server1#data>
Successfully created graph rmi://10.0.1.2/server1#data

(Also note the inconsistent use of "graph" and "model". This should be addressed)