Issue 50881

Summary: sfx2: Redirect from this document is not redirecting to the specified URL
Product: General Reporter: abdul <rabdul>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: caolanm, issues, kamataki
Version: 680m104   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description abdul 2005-06-17 09:59:12 UTC
Redirect from this document is not  redirecting to the  specified URL

Steps
----
1.Go to File->properties , internet Tab
2. check  Redirect from this document 
3. Give time  and URL  
     eg:-5 seconde , www.google.com

Additional Comments:
OS :SuSe 9.3
OO 1.9.104
Comment 1 frank 2005-06-29 13:43:06 UTC
Hi Niklas,

your construction site I think.

Frank
Comment 2 michael.ruess 2009-01-15 11:37:08 UTC
*** Issue 98108 has been marked as a duplicate of this issue. ***
Comment 3 caolanm 2009-01-15 12:18:49 UTC
This happens in writer as well, maybe its a more generic framework issue that
that of calc
Comment 4 caolanm 2009-01-15 16:21:44 UTC
Yeah, its sfx2. This only has a chance of working in a *readonly* document due
to SfxObjectShell::IsAutoLoadLocked which has 
return !IsReadOnly() || pImp->nAutoLoadLocks > 0;

Is this intentional ?, in which case the help documentation makes no mention of
it being a readonly document feature
Comment 5 mst.ooo 2009-01-16 10:34:00 UTC
hi cmc,

well, it doesn't surprise me that this is disabled for editable documents.
what do you think should happen if the user has edited his document for a minute?
should it reload, throwing user's work away?

mib once told me that this reload stuff is intended for HTML documents, because
10 years ago, SO wanted to become a browser...
if you look at the help, it actually talks of HTML documents.

you know what's really weird? all this reload stuff is in the ODF standard...
Comment 6 caolanm 2009-01-16 12:10:47 UTC
"it doesn't surprise me that this is disabled for editable documents. what do
you think should happen if the user has edited his document for a minute? should
it reload, throwing user's work away?"

It doesn't super surprise me either, but it would be ideal to either allow the
reload/redirect to take place if no changes in the document have taken place, or
to change the UI in properties (and mention it in help) from e.g. 
"Redirect from this document" to "Redirect from this document if modifications
disabled"