[ http://issues.apache.org/jira/browse/FOR-554?page=all ]

Tim Williams updated FOR-554:
-----------------------------

    Attachment: for-554-workaround.patch

This is the patch for the workaround as described: 
http://marc.theaimsgroup.com/?l=forrest-dev&m=112018586411268&w=2

The majority of resources.xmap was okay since ImageReaders seem to give the 
proper error.  

--tim

> Error for missing documents is confusing
> ----------------------------------------
>
>          Key: FOR-554
>          URL: http://issues.apache.org/jira/browse/FOR-554
>      Project: Forrest
>         Type: Bug
>   Components: Locationmap
>     Versions: 0.8-dev
>     Reporter: Tim Williams
>     Assignee: Ross Gardler
>  Attachments: for-554-workaround.patch
>
> Described at the top of this discussion:
> http://marc.theaimsgroup.com/?l=forrest-dev&m=111961459500409&w=2
> When tabs, site, and resources were made resolvable through locationmap, 
> everything was placed in a "when-exists" test.  That means instead of getting 
> a meaningful error like "The system cannot find the specified file." it goes 
> straight to the transformer code and fails because no generator exists.  An 
> "otherwise" should have been used so that it will fail back at the generator 
> section and report a "good" error.
> --tim

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to