Opened 9 years ago

Closed 9 years ago

#8346 closed defect (duplicate)

Control Panel / Network / Mesh / Server: should allow empty server

Reported by: bemasc Owned by: erikos
Priority: blocker Milestone: 8.2.0 (was Update.2)
Component: sugar Version: Development build as of this date
Keywords: Cc: Collabora
Blocked By: #8368 Blocking:
Deployments affected: Action Needed: communicate
Verified: no


The Control Panel should allow one not to specify a collaboration server, i.e. leave that field blank. Presently, one is presented with an error "You must enter a server". This should be downgraded to a "Warning: you have not entered a server".

There are lots of situations in which there is no server that can sensibly be specified, especially if one wishes to use Salut over an AP. The interface forces one to make up a url like "not.real.server" to fill that field. This is bad.

Change History (11)

comment:1 Changed 9 years ago by thomaswamm

  • Action Needed changed from never set to communicate
  • Summary changed from Control Panel should allow empty server to Control Panel / Network / Mesh / Server: should allow empty server
  • Version changed from not specified to Development build as of this date

Or, for users like me who don't know what it all means, can a default entry be suggested/provided? Something that cannot be permanently erased and forgotten? After I did a clean-install, the field had something in it, which eventually got lost during experimentation. I don't know what to use to get sharing (Chat, etc.) working.

comment:2 Changed 9 years ago by bemasc

  • Cc olpc@… added

Currently, the default server (in 759) is set to This server is being used for experimental testing on the Gadget branch, and no longer has the shared roster hack, so collaboration and presence do not work at all. Moreover, the XO will automatically connect to this server whenever an internet connection is available, and deactivate Salut, so sharing between to two laptops connected to the same AP no longer works when there is an internet connection.

thomaswamm: You don't need a server to have sharing work. Two laptops that are simply near each other, or connected to the same AP, will automatically "see" each other and begin sharing. Servers are only required for sharing between large numbers of users, or between users who are not on the same LAN. There is no single official sharing server, because no one wants the responsibility of maintaining it. See .

comment:3 Changed 9 years ago by wad

When fixing this, please also change the name of the field in the control panel to be "Collaboration", not "Mesh". People are very confused about the difference, and mistakes like this just perpetuate the confusion.

comment:4 Changed 9 years ago by gdesmott

  • Cc Collabora added; olpc@… removed

Agree, PS should completely disable Gabble if no server is specified in Sugar's config file. I opened #8368 to track this PS change.

comment:5 Changed 9 years ago by erikos

  • Blocked By 8368 added
  • Owner changed from marco to erikos

The check that a server must be entered can be easily removed if this is the behaviour we want.

comment:6 Changed 9 years ago by mstone

Please generate patches which fix this issue for 8.2.0.

comment:7 Changed 9 years ago by mstone

  • Milestone changed from Not Triaged to 8.2.0 (was Update.2)
  • Priority changed from normal to blocker

comment:8 Changed 9 years ago by mstone

See also #8354.

comment:9 Changed 9 years ago by gdesmott

Presence-service properly handle empty server key. See for details.

So all we have to do is to set "" as server key if user doesn't enter anything in the control-panel.

comment:10 Changed 9 years ago by erikos

the fix is in #8354 to allow to set an empty server from the control panel

comment:11 Changed 9 years ago by erikos

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.