[MAGNOLIA-1150] [wf] Files uploaded via dialog during workflow are not available. 404 is returned instead. Created: 16/Oct/06 Updated: 23/Jan/13 Resolved: 17/Oct/06 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | workflow |
| Affects Version/s: | 3.0 RC3 |
| Fix Version/s: | 3.0 RC3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Chris Miner | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
Steps to reproduce: |
| Comments |
| Comment by John Mettraux [ 17/Oct/06 ] |
|
I don't understand that one. How can it be considered a bug ? It's somehow not a workflow issue : it's a dialog / storage issue. One has only to make sure the right resource URL is stored in the workitem right after the upload. |
| Comment by Philipp Bracher [ 17/Oct/06 ] |
|
All urls for resources stored in jcr (like the images) are normally pointing to the website repository. This is creating a 404 if the image was not reachable under this path (you saved it into the workflow repository) But you can create a URLToRepository mapping (see config-->server/RepositoryToURLMapping) to point for example all urls starting with /workflow/ to the workflow item store. To close the cycle you need to subclass the DialogFile to calculate the proper url for displaying it in the dialog. This is working nicely since 3.0 RC3 |
| Comment by Chris Miner [ 17/Oct/06 ] |
|
The core problem relates to how to use dialogs to edit content in custom repositories. Adding an entry under URI2RepositoryMapping of handlePrefix = "" repository = Store and URIPrefix = /my-workflow handled my problem. One could consider this a configuration problem rather than a bug. |
| Comment by Boris Kraft [ 18/Oct/06 ] |
|
And we can't assign tasks to Chris because he is no committer |