You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "Tim Williams (JIRA)" <ji...@apache.org> on 2005/06/25 19:05:00 UTC

[jira] Updated: (FOR-554) Error for missing documents is confusing

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

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

    Attachment: for-554.patch

This fixes site and tabs, it seems (at least right now) that I did the resources.xmap correctly.

With this patch, if tabs.xml and site.xml aren't resolveable in the locationmap it should be a more familiar file not found 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
>  Attachments: for-554.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