Hi Guillaume, just tried that. Importing the whole wiki into another "empty" XWiki instance, does not remove the issue, so there must be some trouble within my pages. :-/
Cheers, Sebastian On Wed, Mar 11, 2009 at 2:12 PM, Guillaume Lerouge <[email protected]> wrote: > Hi, > > On Wed, Mar 11, 2009 at 1:55 PM, Sebastian Kannengiesser < > [email protected]> wrote: > >> update: >> I exported/imported a class, having my issue into another XWiki >> instance and the blank line is there again. So apparently something in >> my first XWiki instance must be broke and not the class itself as it >> seems. Any ideas? > > No idea about what may have caused that. > Is exporting your full wiki to your second instance and replacing the first > with the second an option? > Guillaule > > >> Cheers, >> Sebastian >> >> On Wed, Mar 11, 2009 at 12:56 PM, Sebastian Kannengiesser >> <[email protected]> wrote: >> > Hi Guillaume, >> > >> > man thanx for your reply. Apparently something inside my XWiki >> > instance is broke. >> > As I wanted to try what you suggest I found that any new class I >> > define with a DBListProperty has that "blank" line missing :-( >> > As I said before, the already existing objects still have it when editing >> them. >> > The question now is, where the blank line is actually coming from, >> > i.e. where in XWiki's architecture does it get inserted. Maybe the >> > issue can easily be fixed? >> > >> > Cheers, >> > Sebastian >> > >> > On Wed, Mar 11, 2009 at 11:35 AM, Guillaume Lerouge <[email protected]> >> wrote: >> >> Hi Sebastian, >> >> >> >> I tried reproducing your issue but didn't succeed in doing so so far. >> When >> >> creating a class with only a DBList property, I can select either an >> item >> >> from the list or a blank line. The blank line is located at the very >> bottom >> >> of the list. >> >> >> >> One thing you might want to try is to re-create your class. To do so, go >> to >> >> another page and use the class editor to recreate a class with the same >> >> properties, same queries in your DBList properties etc.. >> >> >> >> Then rename the page where your first class is and rename the page where >> >> your second class is to the name of your first class. In effet, your >> second >> >> class deifinition will take the place of the first one. With a little >> luck, >> >> recreating the class might fix your issue. >> >> >> >> Before renaming the second class to the name of the first one, try >> creating >> >> an object using it and see whether it allows you to have a blank select. >> If >> >> it does, rename it. >> >> >> >> Your objects won't be lost in the process. If it looks like they're >> broken >> >> at some point, that will be only because they lack the reference to >> their >> >> original class. In any case, you'll still be able to rename the first >> class >> >> to its original name to bring the wiki back to its current situation. >> >> >> >> Hope this helps, >> >> >> >> Guillaume >> >> >> >> On Wed, Mar 11, 2009 at 11:18 AM, Sebastian Kannengiesser < >> >> [email protected]> wrote: >> >> >> >>> Hi, >> >>> >> >>> how can I check what happened to my class, that the blank row is >> >>> missing now in new objects. It would be really nice if you could help >> >>> me with this. I desperately need the DBList property to have nothing >> >>> selected in the default state. Many, many thanx in advance. >> >>> >> >>> Cheers, >> >>> Sebastian >> >>> >> >>> On Tue, Mar 10, 2009 at 4:20 PM, Sebastian Kannengiesser >> >>> <[email protected]> wrote: >> >>> > Hi, >> >>> > >> >>> > sorry guys for bumping this up again. But can you tell me, what >> >>> > possibly made the "blank row" in a database list property selection >> >>> > box disappear? I need it and it should be preselected, when creating >> a >> >>> > new document. I had this behaviour before and cannot tell, what made >> >>> > the blank row disappear. Any suggestion? >> >>> > >> >>> > Thanx, >> >>> > Sebastian >> >>> > >> >>> > On Tue, Mar 10, 2009 at 10:21 AM, Sebastian Kannengiesser >> >>> > <[email protected]> wrote: >> >>> >> Hi guys, >> >>> >> >> >>> >> thanx Sergiu for your reply. I create documents based on a class >> which >> >>> >> defines database list properties. >> >>> >> I did not change anything in that class between when "the blank row" >> >>> >> in the selection box in inline editing mode was present and now >> where >> >>> >> it disappeared for new documents. BTW, in this particular case I do >> >>> >> not have multiselect enabled. The alphabetically first entry is >> >>> >> selected as the blank row isn't there anymore. Any ideas? Help is >> >>> >> desperately needed. Thanx for all input in advance. >> >>> >> >> >>> >> Cheers, >> >>> >> Sebastian >> >>> >> >> >>> >> On Mon, Mar 9, 2009 at 4:11 PM, Sergiu Dumitriu <[email protected]> >> >>> wrote: >> >>> >>> Sebastian Kannengiesser wrote: >> >>> >>>> Hi guys, >> >>> >>>> >> >>> >>>> I created a few days ago some documents based on my own class >> which >> >>> >>>> has databse list properties. In the respective template fields, >> there >> >>> >>>> was no entry selected when creating the document which is the >> >>> >>>> behaviour I need. When I now create a document based on the same >> class >> >>> >>>> the first entry is selected a priori and there is no way to >> deselect, >> >>> >>>> i.e. have nothing selected, it. The old documents still have the >> >>> >>>> ability to deselect the entry in inline editing mode. Can you guys >> >>> >>>> please tell me, what might have happened here or could it be a >> bug? I >> >>> >>>> dont't understand this apparently undeterministic behaviour. Many >> >>> >>>> thanx in advance. BTW, this is in XWiki 1.7.2. >> >>> >>> >> >>> >>> Do you create documents based on a template? If so, check that the >> >>> >>> template wasn't changed to have a value selected. When using >> document >> >>> >>> templates, the template is fully copied, including selected values. >> >>> >>> >> >>> >>> When you say you could deselect the selected value, do you mean >> that >> >>> you >> >>> >>> could Ctrl+Click, or that there was a blank row you could select? >> If it >> >>> >>> was Ctrl+Click, check the multiselect setting for the property. >> >>> >>> -- >> >>> >>> Sergiu Dumitriu >> >>> >>> http://purl.org/net/sergiu/ >> >>> >>> _______________________________________________ >> >>> >>> users mailing list >> >>> >>> [email protected] >> >>> >>> http://lists.xwiki.org/mailman/listinfo/users >> >>> >>> >> >>> >> >> >>> > >> >>> _______________________________________________ >> >>> users mailing list >> >>> [email protected] >> >>> http://lists.xwiki.org/mailman/listinfo/users >> >>> >> >> >> >> >> >> >> >> -- >> >> Guillaume Lerouge >> >> Product Manager - XWiki >> >> Skype ID : wikibc >> >> http://guillaumelerouge.com/ >> >> _______________________________________________ >> >> users mailing list >> >> [email protected] >> >> http://lists.xwiki.org/mailman/listinfo/users >> >> >> > >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > > > > -- > Guillaume Lerouge > Product Manager - XWiki > Skype ID : wikibc > http://guillaumelerouge.com/ > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
