You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Juergen Ragaller <ra...@apache.org> on 2007/12/11 21:17:23 UTC

editors and uuids for the image reference

Hi devs


Discussing the svn image caching topic, Andreas pointed out that the  
reference to an image should not be broken by changing it's url (as it  
is referenced using an uuid).

Looking at the editors this seems to be done in different ways:

BXE: uuid  (object ...) in the source code
TinyMCE and one form editor: no uuid in the link; Plain <img  
src="test.jpg" ....  in the documents source code


This could explain, why in tinyMCE and one form the image reference is  
broken after renaming an image url, in BXE the reference continues to  
work.

Let's hope it is not a misunderstanding on my side?

Can you reproduce this?


Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: editors and uuids for the image reference

Posted by Markus Angst <ma...@inventec.ch>.
Andreas Hartmann wrote:
>> ...
>> If there is a 2.0 release with this issue we have to be aware that users have to
>> migrate their content when upgrading to 2.0.1.
> 
> Yes, that's true. But IMO it would be nice to have such a mechanism 
> anyway, and the example content importer already does something similar.

Ok.

Markus Angst


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: editors and uuids for the image reference

Posted by Andreas Hartmann <an...@apache.org>.
Markus Angst schrieb:
> Andreas Hartmann wrote:
>> Juergen Ragaller schrieb:
>>> Hi devs
>>>
>>>
>>> Discussing the svn image caching topic, Andreas pointed out that the 
>>> reference to an image should not be broken by changing it's url (as it 
>>> is referenced using an uuid).
>>>
>>> Looking at the editors this seems to be done in different ways:
>>>
>>> BXE: uuid  (object ...) in the source code
>>> TinyMCE and one form editor: no uuid in the link; Plain <img 
>>> src="test.jpg" ....  in the documents source code
>> That's a bug:
>> http://issues.apache.org/bugzilla/show_bug.cgi?id=43990
>>
>>
>>> This could explain, why in tinyMCE and one form the image reference is 
>>> broken after renaming an image url, in BXE the reference continues to work.
>>>
>>> Let's hope it is not a misunderstanding on my side?
>> No, it isn't :)
>>
>>> Can you reproduce this?
>> Yes. We should definitely fix it in 2.0.1.
> 
> If there is a 2.0 release with this issue we have to be aware that users have to
> migrate their content when upgrading to 2.0.1.

Yes, that's true. But IMO it would be nice to have such a mechanism 
anyway, and the example content importer already does something similar.

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: editors and uuids for the image reference

Posted by Markus Angst <ma...@inventec.ch>.
Richard Frovarp wrote:
> Markus Angst wrote:
>> If there is a 2.0 release with this issue we have to be aware that users have to
>> migrate their content when upgrading to 2.0.1.
>>
>> Regards,
>> Markus Angst
>>
> 
> Not necessarily. To switch over they would just have to save their 
> content. That should do the translation.

Ok.

Markus Angst

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: editors and uuids for the image reference

Posted by Richard Frovarp <ri...@sendit.nodak.edu>.
Markus Angst wrote:
> If there is a 2.0 release with this issue we have to be aware that users have to
> migrate their content when upgrading to 2.0.1.
>
> Regards,
> Markus Angst
>
>   

Not necessarily. To switch over they would just have to save their 
content. That should do the translation.

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: editors and uuids for the image reference

Posted by Markus Angst <ma...@inventec.ch>.
Andreas Hartmann wrote:
> Juergen Ragaller schrieb:
>> Hi devs
>>
>>
>> Discussing the svn image caching topic, Andreas pointed out that the 
>> reference to an image should not be broken by changing it's url (as it 
>> is referenced using an uuid).
>>
>> Looking at the editors this seems to be done in different ways:
>>
>> BXE: uuid  (object ...) in the source code
>> TinyMCE and one form editor: no uuid in the link; Plain <img 
>> src="test.jpg" ....  in the documents source code
> 
> That's a bug:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=43990
> 
> 
>> This could explain, why in tinyMCE and one form the image reference is 
>> broken after renaming an image url, in BXE the reference continues to work.
>>
>> Let's hope it is not a misunderstanding on my side?
> 
> No, it isn't :)
> 
>> Can you reproduce this?
> 
> Yes. We should definitely fix it in 2.0.1.

If there is a 2.0 release with this issue we have to be aware that users have to
migrate their content when upgrading to 2.0.1.

Regards,
Markus Angst

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: editors and uuids for the image reference

Posted by Andreas Hartmann <an...@apache.org>.
Juergen Ragaller schrieb:
> Hi devs
> 
> 
> Discussing the svn image caching topic, Andreas pointed out that the 
> reference to an image should not be broken by changing it's url (as it 
> is referenced using an uuid).
> 
> Looking at the editors this seems to be done in different ways:
> 
> BXE: uuid  (object ...) in the source code
> TinyMCE and one form editor: no uuid in the link; Plain <img 
> src="test.jpg" ....  in the documents source code

That's a bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=43990


> This could explain, why in tinyMCE and one form the image reference is 
> broken after renaming an image url, in BXE the reference continues to work.
> 
> Let's hope it is not a misunderstanding on my side?

No, it isn't :)

> Can you reproduce this?

Yes. We should definitely fix it in 2.0.1.

-- Andreas


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org