Modify

Opened 4 years ago

Last modified 4 years ago

#20735 new defect

"Edit Opening Hours" changes hours when dragging to create time.

Reported by: anonymous Owned by: boman
Priority: major Milestone:
Component: Plugin openinghourseditor Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Data>Edit Opening Hours
  2. Click and drag boxes one day at a time to make the following: Mo,We-Th,Su 11:00-23:00; Tu,Fr-Sa 11:00-24:00

What is the expected result?

Mo,We-Th,Su 11:00-23:00; Tu,Fr-Sa 11:00-24:00

What happens instead?

Mo-Su 11:00-23:00; Tu-Sa 11:00-24:00 = which is too long for We-Th. Clicking okay then reopening to edit shows visual boxes don't match what was created by dragging while they are correct if value is manually set.

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2021-04-01 23:17:01 +0200 (Thu, 01 Apr 2021)
Revision:17702
Build-Date:2021-04-01 21:46:03
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (17702 en) FreeBSD
Memory Usage: 1536 MB / 1536 MB (284 MB allocated, but free)
Java version: 14.0.2+12-1, OpenJDK BSD Porting Team, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1200 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→16×16, 32×32→32×32
System property file.encoding: US-ASCII
System property sun.jnu.encoding: US-ASCII
Desktop environment: KDE
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (35640)
+ DirectUpload (35640)
+ ElevationProfile (35640)
+ FastDraw (35640)
+ FixAddresses (35640)
+ ImproveOsm (206)
+ KartaView (369)
+ Mapillary (1.5.37.4)
+ MicrosoftStreetside (35248)
+ OpeningHoursEditor (35640)
+ RoadSigns (35640)
+ alignways (35640)
+ apache-commons (35524)
+ apache-http (35589)
+ areaselector (368)
+ austriaaddresshelper (1597341117)
+ buildings_tools (35669)
+ editgpx (35562)
+ ejml (35458)
+ fieldpapers (v0.5.0)
+ geochat (35640)
+ gridify (1606242219)
+ gson (35458)
+ imagery_offset_db (35640)
+ javafx-unixoid (35655)
+ jna (35662)
+ junctionchecking (35640)
+ log4j (35458)
+ mapdust (35543)
+ mapwithai (1.7.1.4)
+ measurement (35640)
+ pdfimport (35640)
+ print (35640)
+ tageditor (35640)
+ terracer (35640)
+ todo (30306)
+ turnlanes-tagging (288)
+ turnrestrictions (35640)
+ utilsplugin2 (35691)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1
+ http://zibi.openstreetmap.org.pl/kendzi/k/Simple3dPreset/s3db-preset.zip

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/OsmoseValidations&zip=1

Last errors/warnings:
- 30850.103 W: java.net.SocketTimeoutException: Connect timed out
- 30850.103 W: Already here java.net.SocketTimeoutException: Connect timed out
- 30867.164 W: java.net.SocketTimeoutException: Connect timed out
- 30867.164 W: Already here java.net.SocketTimeoutException: Connect timed out
- 47884.690 W: java.net.ConnectException: Connection refused
- 47884.690 W: Already here java.net.SocketTimeoutException: Connect timed out
- 47887.475 W: javax.net.ssl.SSLException: Connection reset. Cause: java.net.SocketException: Connection reset
- 47887.475 W: Already here java.net.ConnectException: Connection refused
- 111715.132 W: org.openstreetmap.josm.plugins.ohe.parser.TokenMgrError: Lexical error at line 1, column 3.  Encountered: "n" (110), after : ""
- 111717.481 W: Disable opening hours editor:: java.lang.Exception: Error in the TimeValue. Cause: org.openstreetmap.josm.plugins.ohe.parser.TokenMgrError: Lexical error at line 1, column 3.  Encountered: "n" (110), after : ""

Attachments (0)

Change History (2)

comment:1 by mirror176@…, 4 years ago

Missed entering contact information.

comment:2 by skyper, 4 years ago

Component: CorePlugin openinghourseditor
Owner: changed from team to boman
Priority: normalmajor

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain boman.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from boman to the specified user.
Next status will be 'needinfo'. The owner will be changed from boman to anonymous.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from boman to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.