Bug #6388

Rights area not showing/patch not working

Added by Anne-Marie Viola about 8 years ago. Updated about 8 years ago.

Status:VerifiedStart date:03/04/2014
Priority:MediumDue date:
Assignee:José Raddaoui Marín% Done:

100%

Category:Rights
Target version:Release 1.4.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

[Excuse the cross post, this was previously posted to the old Google forum in January, https://groups.google.com/d/msg/ica-atom-users/a2-hjqDo4zo/r7hUi0GSeNUJ.]

The rights area for the Collection level records are not showing up for not-logged in users while viewing in ISAD template but it does show up for Logged in users. Suprisingly, it shows up in the DC template for both logged in or not logged in Users.

We came across this post https://groups.google.com/forum/#!searchin/ica-atom-users/rights$20area$20not$20showing$20up/ica-atom-users/yzzD2wpT73A/qTWlea1ReJgJ

And applied the mentioned Patch to our Atom 1.3 installation. But it doesn't seem to do the trick.

Here is the O/P of the terminal after applying the patch.

root@AtoMProd:/var/www/icaatom-1.3.0# patch p0 < /var/tmp/show_premis_rights.patch
(Stripping trailing CRs from patch.)
patching file plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
Hunk #1 FAILED at 216.
1 out of 1 hunk FAILED -
saving rejects to file plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php.rej
(Stripping trailing CRs from patch.)
patching file plugins/sfDcPlugin/modules/sfDcPlugin/templates/indexSuccess.php
(Stripping trailing CRs from patch.)
patching file plugins/sfModsPlugin/modules/sfModsPlugin/templates/indexSuccess.php
(Stripping trailing CRs from patch.)
patching file plugins/sfRadPlugin/modules/sfRadPlugin/templates/indexSuccess.php
Hunk #1 succeeded at 298 (offset 34 lines).

Any help is appreciated.

Thanks !
Anne-Marie & Prathmesh
Dumbarton Oaks

show_premis_rights_isad_fix.patch Magnifier (1.41 KB) José Raddaoui Marín, 03/10/2014 12:01 PM

History

#1 Updated by Jessica Bushey about 8 years ago

  • Category set to Rights
  • Assignee set to José Raddaoui Marín
  • Target version set to Release 1.4.0

#2 Updated by Jessica Bushey about 8 years ago

Not sure why the patch didn't work for you.
Without the patch, the rights should NOT be viewable by a public user, even in dublin core. I tested this in our ICA-AtoM 1.3.1 stable and confirmed that without the patch, the rights are NOT viewable in ISAD, RAD and DC.

#3 Updated by Anne-Marie Viola about 8 years ago

Maybe our previous use of the double negative is confusing things. We WANT rights to be visible to the public, so as to leverage the fields related to copyright and copyright holder. We applied the patch in hopes of making this information publicly visible and it is not working.

#4 Updated by Anne-Marie Viola about 8 years ago

To confirm: We are working with 1.3 at present and would like to make this visible in our current implementation.

We will want to do so when we upgrade to 2.0 as well and based on the test I just conducted in our 2.0 dev environment, it looks like rights are still invisible to non-authenticated users. Can you confirm?

#5 Updated by José Raddaoui Marín about 8 years ago

Hi,

I'm attaching a new patch that only applies to the ISAD template in 1.3.x.

Anne-Marie, in 2.0 the behaviour is the same, a similar patch will be needed.

Regards.

#6 Updated by Jessica Bushey about 8 years ago

waiting for confirmation from DO that patch worked

#7 Updated by Sarah Romkey about 8 years ago

  • Status changed from QA/Review to Verified

Also available in: Atom PDF