Rights Area not showing up for ISAD even after applying the Patch

56 views
Skip to first unread message

prathmes...@gmail.com

unread,
Jan 6, 2014, 3:58:04 PM1/6/14
to ica-ato...@googlegroups.com
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 !
-Prathmesh ,
Database & CMS Specialist
Dumbarton Oaks.


Jessica Bushey, AtoM Product Manager

unread,
Mar 4, 2014, 3:37:53 PM3/4/14
to ica-ato...@googlegroups.com, prathmes...@gmail.com
Hi Prathmesh,

We are looking into this. Please follow the status on this issue: https://projects.artefactual.com/issues/6388.

Regards,
Jessica B

Jessica Bushey, AtoM Product Manager

unread,
Mar 10, 2014, 3:24:20 PM3/10/14
to ica-ato...@googlegroups.com, prathmes...@gmail.com
The patch has been updated, see: https://projects.artefactual.com/issues/6388

Best,
Jessica

prathmes...@gmail.com

unread,
Mar 13, 2014, 11:39:26 AM3/13/14
to ica-ato...@googlegroups.com, prathmes...@gmail.com
Hi Jessica,

 Thanks to Jose for the updated patch for the ISAD template fix. But unfortunately when I ran that patch,  its still failing and giving me the following error in terminal:

patching file plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php
Hunk #1 FAILED at 242.

1 out of 1 hunk FAILED -- saving rejects to file plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/indexSuccess.php.rej

Our problem is resolved as I was able to make the necessary changes in the indexsuccess.php file to make the Rights area appear without the patch.
Just wanted you guys to know , that patch was throwing this above error.

Thanks !!

David Juhasz

unread,
Mar 13, 2014, 11:56:54 AM3/13/14
to ica-ato...@googlegroups.com, prathmes...@gmail.com
Hi Prathmesh,

Could you create a patch file from the changes you made to get the Rights area showing to the public and share it on the forum? I'm sure there are other AtoM users that would find it helpful.

Cheers,
David

--

David Juhasz
Director, AtoM Technical Services Artefactual Systems Inc. www.artefactual.com


--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/20c2b2b0-f340-4a59-9c6a-34ddacaf27ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

prathmes...@gmail.com

unread,
Mar 13, 2014, 3:06:06 PM3/13/14
to ica-ato...@googlegroups.com, prathmes...@gmail.com
Hi David,

   I'm not entirely sure why Jose's patch didn't work in my instance, maybe all it needs is a little tweak.
 I just used the logic, which Jose used in his patch. But instead of running a patch/script I just directly edited the indexsuccess.php file for ISAD plugin and deleted the code snippet of checking User Authentication before displaying Rights area;

<?php if ($sf_user->isAuthenticated()): ?>  And also the <?php endif; ?> at the end of the Rights area section.

If you guys still want, I can give a shot at writing a patch to replicate this in the next week or so.

David Juhasz

unread,
Mar 13, 2014, 3:20:43 PM3/13/14
to ica-ato...@googlegroups.com
Great, thanks for sharing your methodology Prathmesh.  I think it's a simple enough change that a patch file isn't necessary.


--

David Juhasz
Director, AtoM Technical Services Artefactual Systems Inc. www.artefactual.com


--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.
Reply all
Reply to author
Forward
0 new messages