Plug.Conn.WrapperError: ** (Ecto.MultipleResultsError) expected at most one result but got 2 in query:
Sentry Issue: WSDATASELECT-Y
Plug.Conn.WrapperError: ** (Ecto.MultipleResultsError) expected at most one result but got 2 in query:
from n0 in Wsdataselect.Inventory.Network,
where: n0.network == ^"YP",
where: n0.starttime < ^~U[2014-01-01 00:41:47.000000Z],
where: n0.endtime > ^~U[2013-12-31 23:21:47.000000Z]
File "lib/ecto/repo/queryable.ex", line 157, in Ecto.Repo.Queryable.one/3
File "lib/wsdataselect/backend.ex", line 250, in Wsdataselect.Backend.stream_allowed?/2
File "lib/enum.ex", line 4265, in Enum.filter_list/2
File "lib/wsdataselect/backend.ex", line 237, in Wsdataselect.Backend.filter_permissions/1
File "lib/wsdataselect/controller.ex", line 60, in Wsdataselect.Controller.manage_query/2
...
(3 additional frame(s) were not displayed)
(Plug.Conn.WrapperError ** (Ecto.MultipleResultsError) expected at most one result but got 2 in query:
from n0 in Wsdataselect.Inventory.Network,
where: n0.network == ^"YP",
where: n0.starttime < ^~U[2014-01-01 00:41:47.000000Z],
where: n0.endtime > ^~U[2013-12-31 23:21:47.000000Z]
)