Navigation Menu

Skip to content
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

Update address sync tool to include data access policy selection #29

Closed
andrewvanbreda opened this issue Nov 29, 2017 · 18 comments
Closed

Comments

@andrewvanbreda
Copy link
Collaborator

Update address sync tool to include data access policy selection

@andrewvanbreda
Copy link
Collaborator Author

andrewvanbreda commented Nov 29, 2017

Awaiting email response about urgency from Oli before committing.

Note to AVB: To get this to work, don't forget to create a person_attribute on the warehouse, but must be type text even though it is a boolean on drupal

AVB Response:
Attribute already exists (13). Added required configuration to sync page. Now just need the code on the site.

@andrewvanbreda
Copy link
Collaborator Author

Confirmed: Proceed with trying to get this out with the latest batch of fixes possibly using a hotfix because an indicia release has already been made.

@andrewvanbreda
Copy link
Collaborator Author

Submitted this to JVB to release after checking.

@andrewvanbreda
Copy link
Collaborator Author

andrewvanbreda commented Nov 30, 2017

Note to AVB: Also include checkbox on report page

AVB Response: This is all committed and ready to go live

@andrewvanbreda
Copy link
Collaborator Author

AVB: Not currently working on training site when it should be working.
Looks like the latest code isn't there, at least not for the splash_extensions.php file, although other things do seem to be working, so it is a bit confusing. Pretty sure splash_extensions.php isn't up to date with the master branch
@BirenRathod Any ideas?

@BirenRathod
Copy link
Collaborator

@andrewvanbreda

I got code from drupal7_client_helpers repository, if it hasn't committed there than there must be something missing here.

@BirenRathod
Copy link
Collaborator

Sorry it is drupal7_iform repository.

@BirenRathod
Copy link
Collaborator

Hello @andrewvanbreda

Here is the splash_extension.php, file deployed from drupal7_iform repository.

splash_extensions.zip

@andrewvanbreda
Copy link
Collaborator Author

Hi @BirenRathod ,

That file seems to be missing the changes for some reason,
But they can be seen here
https://github.com/Indicia-Team/client_helpers/blob/master/prebuilt_forms/extensions/splash_extensions.php

Look at the simple_user_address_upload function, lots of references to the new Data Access Policy code.
Any ideas?

@BirenRathod
Copy link
Collaborator

Hello @andrewvanbreda

I checked the commit, you have committed into develop branch but not merge into master branch. If you could do that would be good to go.

@andrewvanbreda
Copy link
Collaborator Author

@BirenRathod I don't understand, pretty sure I did and the change is clearly there in the link above which shows the master code

@BirenRathod
Copy link
Collaborator

BirenRathod commented Dec 8, 2017

@andrewvanbreda

Well, than it is not included in drupal7_iform release.

@andrewvanbreda
Copy link
Collaborator Author

@BirenRathod Ahhhh big lightbulb moment. It won't be in the release that you are looking at, as it was an urgent late request that I had to hotfix.
Is it possible to just grab the file from the GitHub master branch and put into onto the training site. That will be the only file you will need to do this for.

@BirenRathod
Copy link
Collaborator

@andrewvanbreda
If that file has got all the code what you are after than yes I can do that. I let you know soon once it has done.

@andrewvanbreda
Copy link
Collaborator Author

@BirenRathod Yes it has, it is master branch and that is the only change to that file since the release.
If it goes wrong it isn't an issue as we are doing this to the training site to test it anyway.

@andrewvanbreda
Copy link
Collaborator Author

andrewvanbreda commented Dec 14, 2017

Jim has moved the file across. Tested on training site and working and now ready for live.

@andrewvanbreda
Copy link
Collaborator Author

Working on live, however the address syncing tool will need running for all users before this issue can be closed

@andrewvanbreda
Copy link
Collaborator Author

Has been run. Issue with timeouts during run has been noted and raised separately. Closing this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants