-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entity template URLs are wrong #19
Comments
Will also need to determine if it makes sense to prepend the cwrcRootUrl here |
@jefferya , could you possibly look at this as soon as possible? Once this is done, we should be able to test the integrated CWRC-Writer in https dev-06, so one step closer to migration :) |
Can I get more context - the approach depends the answers to the following contextual questions?
If the answers to the above are I can only the the by-hand changes after the code is installed on each server. |
If this update operation has to be done manually on each schema object, can we prioritize the schema objects that we know are "keepers" and leave the other ones out? Also, if this needs to be done individually for each Fedora schema object, then I would go with modifying the version in dev-06 and beta , and leave out dev-05. |
Yes, the image contains the default list. These, if they haven't changed, I can delete and automatically reingest. Otherwise, if there is no front-end to edit, I'll have to login directly to Fedora and edit the rels-ext datastreams to update the properties. |
See cwrc/DEPRECATED-CWRC-Writer#420 (especially from Jeff's comment on Sept 17, 2016 on) Beta site:
Dev sites (dev-05 and dev-06)
TO do's (for now): Mihaela will test new schema objects in the dev environments and will collect the pid's of a few old schemas in the same environments |
I'm assuming you're using the npmbuild branch. I've created a PR with initial code changes towards the problem. I'm not sure if it makes sense to prepend the cwrcRootURL here (https://github.com/cwrc/Islandora-CWRC-Writer/blob/npmbuild/includes/utilities.inc#L1093-L1097) - could remove the Here might be a better location (https://github.com/cwrc/CWRC-WriterBase/blob/dialogRefactor/src/js/dialogs/dialogForm.js#L231) Which makes GitWriter more application independent? Reference: I've done the following on cwrc-dev-05. The following will be needed on the others servers after this fix is installed:
|
@jefferya |
I'm not sure if this belongs in #15 or not, but the cwrcRootUrl being generated is incorrect, i.e. "http:///sites/default/modules/Islandora-CWRC-Writer/build/build/" |
I think this is the needed code change - untested
With a |
Between this change and the ones that Jeff has made. This is now fixed. |
I am not sure if there's any way for me to test this from an user's perspective, as you mentioned that there are still issues with the citation and note miniWriters in the integrated version. Any advice? if not, and you are confident this particular issue has been solved, I propose we close it. |
@ilovan this fixes the issues with the miniWriters. If you can create a note or citation successfully, then I'd consider it fixed. |
It looks like they are working consistent with the way they work in the GitWriter, so I will close this issue for now. |
The note and citation entity template URLs that are produced here don't point to the right places.
E.g.
https://cwrc-dev-05.srv.ualberta.ca/sites/default/modules/Islandora-CWRC-Writer/build/src/js/schema/tei/xml/note.xml
should be:
https://cwrc-dev-05.srv.ualberta.ca/sites/default/modules/Islandora-CWRC-Writer/build/schema/tei/xml/note.xml
The text was updated successfully, but these errors were encountered: