Actually, I can tell you exactly, it was here
<https://bitbucket.org/arches/hip/commits/d18faf61c6e35610903774b1446332404190d45b>
where I fixed a typo, because before that the condition assessment section
was not showing at all, meaning that this bug was never exposed.  Hopefully
I'll get a chance to look into it soon.

Anyway, glad you were able to get that fix to work!

Adam

On Tue, Dec 22, 2015 at 7:19 PM, Joel Aldor <[email protected]> wrote:

> That worked, Adam! Thanks a lot! I'm wondering what caused this bug which
> didn't happen on previous updates. But all is solved for now. Thanks again!
>
> Joel
>
> On Wed, Dec 23, 2015 at 9:07 AM, Adam Cox <[email protected]> wrote:
>
>> Hi Joel, I believe this is actually the same I recorded a while ago here,
>> https://bitbucket.org/arches/arches3/issues/289/reports-condition-assessment-section-image,
>> which has unfortunately not gotten any attention.
>>
>> As you can see in your resource report, the entire Related Resources
>> section is missing from the bottom of the report.  Where you are seeing "No
>> images recorded" there would actually only be images that can be uploaded
>> with a condition assessment, not those that are information resources and
>> related to this resource, as you are describing.  As I described in the bit
>> bucket ticket, the code that causes the problem is within the condition
>> assessment section, which is only included in the report if the resource
>> has had a condition assessment added to it.  If you remove the condition
>> assessment for this resource, you should see the images as expected.
>>
>> So, a fix you could do immediately would be:
>> 1. find this file:
>> ENV/lib/python27/site-packages/arches_hip/templates/views/reports/sections/condition_assessment_section.htm
>> 2. copy it and paste it into
>> my_hip_app/my_hip_app/templates/views/reports/sections/condition_assessment_section.htm
>> (create new directories where necessary to replicate the same directory
>> path)
>> 3. at about line 153 add <!-- which will begin an html comment. This
>> should be the line *before *the one that starts with {% if
>> 'CONDITION_IMAGE_E73'...
>> 4.  at about line 165 add --> which will end the html comment. This
>> should be *after *the line {% endif %}.
>>
>> Let me know if that works.  If you make errors in the new condition
>> assessment section file you can just remove it, and arches will go back to
>> using the original that is in the virtual environment.
>>
>> Adam
>>
>> On Tue, Dec 22, 2015 at 6:25 PM, Joel Aldor <[email protected]> wrote:
>>
>>> Good day,
>>>
>>> I would like to report a bug on our Arches installation. Images that
>>> were uploaded and related to our historic resources do not show up on the
>>> resource report pages. It only says "Images: No images recoreded" but when
>>> you go to the "Images and Files" tab, the images were there.
>>>
>>> e.g.
>>> http://www.philippineheritagemap.org/reports/086dac6a-cc3b-44df-8d99-f6783d718570
>>>
>>> Should I report this bug on Bitbucket, or is there a fix I could do
>>> immediately? Our volunteer mappers would like to see a fix on this very
>>> soon.
>>>
>>> Thank you.
>>>
>>> Regards,
>>>
>>> Joel
>>>
>>> --
>>> -- To post, send email to [email protected]. To
>>> unsubscribe, send email to [email protected].
>>> For more information, visit
>>> https://groups.google.com/d/forum/archesproject?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Arches Project" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to