[
https://issues.apache.org/jira/browse/SLING-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger closed SLING-235.
-----------------------------------
Done
> UjaxFileUploadHandler needs tests for the nt:file vs. nt:resource decisions
> ---------------------------------------------------------------------------
>
> Key: SLING-235
> URL: https://issues.apache.org/jira/browse/SLING-235
> Project: Sling
> Issue Type: Test
> Components: Engine
> Reporter: Bertrand Delacretaz
> Assignee: Felix Meschberger
> Priority: Minor
>
> I'm modifying UjaxFileUploadHandler so that it creates an nt:file node (as
> opposed to nt:resource) if the name of the file being uploaded includes an
> extension.
> The rationale for the choice between nt:file and nt:resource is that if the
> filename is "important" the upload handler creates an nt:file, and if not
> it's an nt:resource.
> We need to add some tests to verify this logic, including what the class did
> before my changes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.