The description of the default map is too long. If the default map is cloned without changing the description, the user gets an error message that stops them from saving the new map.
Of course users should give their new map a fitting description anyway, but if the default text could be shorter, they wouldn't get an error.

Map Description cannot be longer than 128 characters but is currently 201 characters long.

Comments

Pol’s picture

Status: Active » Needs review

What's the best way to solve the problem ?

  • Changing the size of the field description ?
  • Stripping the description automatically if > 128 ?

If you have other ideas, just put them here, we'll take a decision.

ifrik’s picture

Status: Needs review » Needs work

This is the basis for all maps, unless you changed the <a href="/admin/structure/openlayers">OpenLayers Main Settings</a>

It doesn't need to say "Default" in the description because that is already in the title.

Pol’s picture

Status: Needs work » Fixed

Removed the #maxlength for that field.

mgifford’s picture

Excellent. Although that should be fixed in the dev version, right?

I just got this again after pulling down openlayers-7.x-2.x-dev

I'll poke this a bit more but may need to re-open it.

Pol’s picture

mgifford’s picture

No prob. Thanks for fixing it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.