[MB-7029] spatial views: error message when try to save incompilable view is not user friendly Created: 26/Oct/12  Updated: 10/Jan/13  Resolved: 01/Nov/12

Status: Closed
Project: Couchbase Server
Component/s: UI
Affects Version/s: None
Fix Version/s: 2.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Iryna Mironava Assignee: Pavel Blagodov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: build 1901
<manifest><remote name="couchbase" fetch="git://github.com/couchbase/"/><remote name="membase" fetch="git://github.com/membase/"/><remote name="apache" fetch="git://github.com/apache/"/><remote name="erlang" fetch="git://github.com/erlang/"/><default remote="couchbase" revision="master"/><project name="tlm" path="tlm" revision="23261639414808ce20ffc59508346db5efab6832"><copyfile src="Makefile.top" dest="Makefile"/></project><project name="bucket_engine" path="bucket_engine" revision="70b3624abc697b7d18bf3d57f331b7674544e1e7"/><project name="ep-engine" path="ep-engine" revision="3c719d47ca41285bbcbc61817f719180448f1042"/><project name="libconflate" path="libconflate" revision="2cc8eff8e77d497d9f03a30fafaecb85280535d6"/><project name="libmemcached" path="libmemcached" revision="ca739a890349ac36dc79447e37da7caa9ae819f5" remote="membase"/><project name="libvbucket" path="libvbucket" revision="00d3763593c116e8e5d97aa0b646c42885727398"/><project name="membase-cli" path="membase-cli" revision="7fe4121e7e83952a4cb032e25a2cb9fca1709354" remote="membase"/><project name="memcached" path="memcached" revision="7ea975a93a0231393502af4ca98976eee8a83386" remote="membase"/><project name="moxi" path="moxi" revision="52a5fa887bfff0bf719c4ee5f29634dd8707500e"/><project name="ns_server" path="ns_server" revision="789453b2cbbc2f95fcea48892ea352cb10348901"/><project name="portsigar" path="portsigar" revision="1bc865e1622fb93a3fe0d1a4cdf18eb97ed9d600"/><project name="sigar" path="sigar" revision="63a3cd1b316d2d4aa6dd31ce8fc66101b983e0b0"/><project name="couchbase-examples" path="couchbase-examples" revision="21e6161a1d064979b5c6aa99cd34ccc41c9d7aca"/><project name="couchbase-python-client" path="couchbase-python-client" revision="006c1aa8b76f6bce11109af8a309133b57079c4c"/><project name="couchdb" path="couchdb" revision="a5a033c9edc81ed7a1acfd3c0d05745215973dca"/><project name="couchdbx-app" path="couchdbx-app" revision="a28314c04c9d89da861b400ff37eae1fdaa693f8"/><project name="couchstore" path="couchstore" revision="d0e70d0dece8e4f4d0a782f4ac5452509fb3919b"/><project name="geocouch" path="geocouch" revision="849d5443689b1924f097548af864c539bffcc929"/><project name="mccouch" path="mccouch" revision="88701cc326bc3dde4ed072bb8441be83adcfb2a5"/><project name="testrunner" path="testrunner" revision="40df5061c143271379965697512823fb194c9d62"/><project name="otp" path="otp" revision="b6dc1a844eab061d0a7153d46e7e68296f15a504" remote="erlang"/><project name="icu4c" path="icu4c" revision="26359393672c378f41f2103a8699c4357c894be7" remote="couchbase"/><project name="snappy" path="snappy" revision="5681dde156e9d07adbeeab79666c9a9d7a10ec95" remote="couchbase"/><project name="v8" path="v8" revision="447decb75060a106131ab4de934bcc374648e7f2" remote="couchbase"/><project name="gperftools" path="gperftools" revision="8f60ba949fb8576c530ef4be148bff97106ddc59" remote="couchbase"/><project name="pysqlite" path="pysqlite" revision="0ff6e32ea05037fddef1eb41a648f2a2141009ea" remote="couchbase"/></manifest>

Attachments: PNG File spatial_noncompilable.png    

 Description   
based on MB-6990
When try to save spatial view with incompilable map\reduce fn user is redirected to home page, error like in screen shot appears
Can we just have something similar to views syntax error?

 Comments   
Comment by Volker Mische [ 26/Oct/12 ]
Assigning to the UI team.
Comment by Farshid Ghods (Inactive) [ 26/Oct/12 ]
Aliaksey,

it this an easy fix or we should defer this to 2.0.1 ?
Comment by Farshid Ghods (Inactive) [ 30/Oct/12 ]
moving all non-blocker bugs to 2.0.1 and .next release since 10/31 is the code freeze for 2.0 release and we didn't see a change on gerrit for this issue.
Comment by Dipti Borkar [ 01/Nov/12 ]
why is this marked resolved? Is it fixed?
Comment by Dipti Borkar [ 01/Nov/12 ]
Is this fixed in 2.0?
Comment by Aliaksey Artamonau [ 01/Nov/12 ]
Fixed by http://review.couchbase.org/22110 that was merged yesterday.
Generated at Wed Apr 23 06:09:15 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.