History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: FB-13194
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: B B
Assignee: Rebecca Hauck
Reporter: Josh Buhler
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Flash Builder / Flex Builder

viewSourceURL is Overwritten

Created: 07/03/08 11:52 AM   Updated: 05/15/09 06:48 PM
Component/s: View Source
Security Level: Public (All JIRA Users )

Issue Links:
Relationship
 
This issue is related to by:
FB-15875 Add the ability to specify an absolut... C Closed

Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: High
Found in Version: 3.0.1 (Released)
Milestone: Gumbo I12
Affected OS(s): Mac - OS 10.5
Steps to Reproduce:
Steps to reproduce:
1. In the Application tag, set the viewSourceURL property to something other than "srcview/index.html" - "http://path.to/mySites/actualSource/location" for example.

2. Export for Release, making sure that "Enable View Source" is selected.
 
 Actual Results:
 
The user-specified value for the viewSourceURL is rewritten to "srcview/index.html"
 
 Expected Results:
 
The value is left at what the user specifies. They very easily may want to link to the source code elsewhere on the server.
 
 Workaround (if any):
 
 None that I've found.
 
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: Yes
QA Owner: Rebecca Hauck
Resolved by: Tom Lane
Fixed Version: Gumbo I12 - Next Build
Participants: George Comninos, Heidi Williams, Josh Buhler, Larry McLister, Paul Kukiel, Rebecca Hauck and Tom Lane
Eclipse Configuration: FB Standalone


 All   Comments      Sort Order:
Paul Kukiel - [08/13/08 08:22 PM ]
Happens on Vista aswell not just OSX

Rebecca Hauck - [08/15/08 04:11 PM ]
Reproduced in Moxie and in the latest Gumbo build.

Rebecca Hauck - [08/26/08 04:13 PM ]
IRB: Opened to George for post-MAX.

Larry McLister - [01/05/09 03:44 PM ]
bulk change from I9 to I10

George Comninos - [02/05/09 04:45 PM ]
This isn't that simple...how can we tell the difference between a user specified view source URL and a previous Export Release operation? They may have done Export Release, then re-exported and selected a different folder for view source, in which case we want to overwrite the old attribute value. We can check for an absolute url and not overwrite in that case, but that doesn't fix the case where the user coded their own relative path.

Heidi Williams - [02/11/09 04:02 PM ]
Let's see if we can figure out some UI that would let us specify whether to overwrite the URL or not (or to always specify it in the UI).

Heidi Williams - [03/17/09 05:32 PM ]
Reassigned to Tom.

Tom Lane - [04/22/09 08:33 PM - edited ]
Proposal: If the viewSourceURL attribute has an existing value, don't touch it unless the user alters the wizard's view source output location.

Rationale: If you change the wizard output location then you presumably want to update the viewSourceURL to point to it. But if you've changed the viewSourceURL attribute yourself to point somewhere you can't specify in the wizard, you still want the wizard to generate the view source files but you're going to handle moving them to the arbitrary URL's location (unknown to the wizard).




Tom Lane - [04/25/09 04:26 PM ]
Fixed in change 230879

Rebecca Hauck - [05/15/09 06:48 PM ]
confirmed fixed, XP SA, b234014 - we no longer overwrite the viewSourceUrl value.