Bugs in XPage GUI in 8.5.2 Designer?

This is my first post and bug report here - apologies if I have not adhered to protocol correctly - let me know and I’ll do better next time. This refers to 8.5.2, not 8.5.1 as the Build/Release field says (8.5.2 isn’t available there yet).

These aren’t immediately obvious especially if you use the Source tab for your code, but I’m still an XPage newbie, and I’m using the GUI with drag & drop and cut & paste all the time. Can anyone reproduce and confirm these bugs in Domino Designer 8.5.2 on Eclipse? In case it’s relevant, I’m running on a Windows 7 64-bit VM on a Mac Pro. The behaviour is the same regardless of the hypervisor (Parallels/Fusion/VirtualBox) I use.

First bug:


Create a new XPage, and in the Design tab, drag and drop an edit box control at the top of the page, and a panel a few line-breaks below. Source follows, with a few line breaks for easier drag-and-drop targets:


<?xml version="1.0" encoding="UTF-8"?>

<xp:view xmlns:xp=“http://www.ibm.com/xsp/core”>

<xp:inputText id="inputText1"></xp:inputText>

<xp:br></xp:br>

<xp:br></xp:br>

<xp:panel>

	<xp:br></xp:br>

</xp:panel></xp:view>

Drag the edit box from its current position into the panel, and drop it there. Now hit CTRL-Z (Undo). The box does move back, but is still shown inside the panel as well. The source code shows it has in fact been moved, but even after editing the source code, the Design tab continues to show a phantom edit box (even though anything else you change in the source tab is correctly reflected) until an unknown time or event has passed. It does catch up after a while. If you pasted multiple edit boxes, deleting one phantom seems to remove them all. You can edit parameters and values for the phantom box, but they aren’t saved.

Second bug:


Hard to reproduce this reliably as it’s intermittent and unpredictable: when I cut/copy & paste some items in the Design tab, some properties (xp:value, xp:rendered, and perhaps others, seemingly at random) are duplicated, usually on the pasted items, but possibly also on other items within the XPage. The most common manifestation of this I’ve yet observed is that several of the pasted items have their xp:value properties pasted twice - once at the start and once at the end of the XML for that item. This creates entries in the Problems tab, and prevents the XPage from saving.

At least this’ll help motivate me to man up and get proficient in the source tab! :slight_smile:

-Jef.

Subject: Re: Duplicate value attributes

I’ve encountered the second one, when copying and pasting an edit box control. I pasted above a repeat control, the contents of the repeat control had their value and rendered attributes duplicated, and facets were duplicated as well. This seemed to happen for any “this.” attributes.

When I tried to reproduce it immediately after restoring the XPage to the prior version, the edit box controls pasted in fine though. It seems to be intermittent, but possibly related to the enhancement to allow drag and drop in the source panel?

Subject: Duplicated code in designer 8.5.2

I’ve got a duplicated code in the view component. Some view columns were duplicated and the code inside them too. I happened when I pasted and copied some code in the view column property.