cwrc / DEPRECATED--CWRC-Dialogs

0 stars 0 forks source link

Installing CWRC-Writer on a difference server causes CWRC-Dialogs to fail #47

Closed jefferya closed 10 years ago

jefferya commented 10 years ago

Summary:

When CWRC-Writer is installed on a server not named 'apps.testing.cwrc.ca', the CWRC-Dialogs fail to search and create new objects. The CWRC-Dialogs continue to send requests to 'apps.testing.cwrc.ca'.

Details:

Is this due to the mechanism used by the CWRC-Writer to initialize the CWRC-Dialogs? If so, can the details be added to the README for the CWRC-Dialogs?

The CWRC-Dialogs appear to be using a hard-coded servername. The code that instantiates the CWRC-Dialogs, in this case CWRC-Writer, should control the servername (and possibly the URLs for search and create). The reasoning, CWRC will have a production server and at least one dev server. The current app doesn't allow for this setup.

lagoan commented 10 years ago

The Readme.md file is up to date and contains the information on how to set up the api calls:

Service call urls can be customized by using the functions setCwrcApi, setGeonameUrl, and setViafUrl.