[Portfolio] Coordinator/Reviewer/Public not able to view Matrix Form attachments when used in Portfolio

chaitanya.cheekate chaitu381923 at gmail.com
Tue Feb 4 08:17:31 PST 2014


Today i found that url's generated for attachments are wrong. Each attachment
is associated with different form but the generated URL's of all attachments
are containing the same formId(1st formId). Because of this reason
checkFormAccess always adding attachments of 1st form.

1st attachment URL:
http://localhost:8080/access/ospPresentation/75d4ea91-b5f1-40b5-9c33-a8a9abf6451a/C12C5F04397B1D37238537B9B73CE41B/metaobjContent/75d4ea91-b5f1-40b5-9c33-a8a9abf6451a/*/f7b12779-65d7-4736-b303-7bef2a4eb492/*//content/attachment/%7E4f2d8665-1c8c-462f-8a91-b8831c6d6e79/Matrices/73ef2261-bd04-4abb-933d-58a7abaad7af/Desert.jpg

2nd attachment URL:
http://localhost:8080/access/ospPresentation/75d4ea91-b5f1-40b5-9c33-a8a9abf6451a/C12C5F04397B1D37238537B9B73CE41B/metaobjContent/75d4ea91-b5f1-40b5-9c33-a8a9abf6451a/*/f7b12779-65d7-4736-b303-7bef2a4eb492/*//content/attachment/%7E4f2d8665-1c8c-462f-8a91-b8831c6d6e79/Matrices/85dc9559-8863-4bfb-b3fa-c56387c24e51/Adapting%20College%20DB%20for%20Schools.doc

Note: Form Id is highlighted in bold and italic format in the above links.

Also I printed the text of generated XML document generated by the
createDocument method of
org.theospi.portfolio.presentation.model.impl.PresentationManagerImpl

I observed that, The XML content is generating properly.
But while transforming from XML to HTML code, the url's are not constructing
properly.

Please find the attachment for  XML text.

Please help me in fixing the issue by telling in which direction I need to
work.


sample.xml
<http://sakai-project-mail-list-archives.1343168.n2.nabble.com/file/n7594907/sample.xml>  




--
View this message in context: http://sakai-project-mail-list-archives.1343168.n2.nabble.com/Coordinator-Reviewer-Public-not-able-to-view-Matrix-Form-attachments-when-used-in-Portfolio-tp7594816p7594907.html
Sent from the Project: Portfolio (portfolio at collab.sakaiproject.org) mailing list archive at Nabble.com.


More information about the portfolio mailing list