Selection issue

Author Message

Rinze Cats

Wednesday 26 May 2004 9:01:02 am

Hi,

i have upgraded from 3.3.3 to 3.3.5. can someone tell if the following is the result of this upgrade, and if so, which file I have to edit to undo this change?

My article class includes a selection attribute called 'issue'. This simply contains numbers indating the issue. I use this field in the objects name. So my articles appear as
16_articlename. This worked fine under 3.3.3. Now I have upgraded, the number displayed in the name is always one off. So if the issue is 15, 16 is displayed. I think this is because the id of the selection is used instead of the value (the selection starts with a blank, so the id / value has a difference of 1). However, i'm not sure! Has anybody experienced this or can someone tell me if there has been a change in this functionality?

thanx
rinze

Kåre Køhler Høvik

Thursday 27 May 2004 2:34:42 am

Hi

I think the selection datatype was fixed between 3.3-5 and 3.3-5.

In 3.3-3 the index was : 0, 2, 3, 4, etc.
In 3.3-5 it's fixed to : 0, 1, 2, 3, etc.

--
Kåre Høvik

Kåre Høvik

Rinze Cats

Friday 28 May 2004 3:12:29 am

mmm,

The class definition didn't change (of course), so when I open an existing instance of the class and view the source, the options are counting from 0, 2, 3, 4, 5 etc.

If for existing classes index 14 was chosen, it would display the value related to index 14, say the string 'fourteen'. Howeverin 3.3.5, it will still load the index 14, but the display function uses a different count, and the index 14 is related to the next value, 'fifteen'.

How can I solve this? Can I undo this fix (and if so which php file do I need to change?)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.