Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug in new Task creation. #34

Closed
wants to merge 1 commit into from

Conversation

JHPeters
Copy link

@JHPeters JHPeters commented Mar 30, 2017

The "new Task" form (on the {{tasks>[namespace]}} page) does not use exclamation marks to
represent priority but natural language entries from lang[..].
This caused ~~TASK?[priority]~~ entries in pages created by this
form to not conform to the syntax and both priority and due date
(if given in the form) were not correctly interpreted.

I added a "translation step" before new page creation that should
fix this (haven't tested for different languages, but it should
work).

The new Task creation form does not use exclamation marks to
represent priority but natural language entries from lang[..].
This caused ~~TASK?[priority]~~ entries in pages created by this
form to not conform to the syntax and both priority and due date
(if given in the form) were not correctly entered.

I added a "translation step" before new page creation that should
fix this (haven't tested for different languages, but it should
work).
@lpaulsen93
Copy link
Member

Hi @JHPeters,
thanks for exporting the issue. Your analysis is totally correct. I made this bug in the current release, sorry.

But I won't merge your pull-request because I think it's not the optimal way to fix the issue. Instead I corrected the new form dialog to send the priority in the correct form (as it did before, see the function for the old form: _newTaskFormOld(), in helper.php. Also see #35.

I think I will create a bugfix release at the weekend.

Kind Regards,
Lars

@lpaulsen93
Copy link
Member

I just published a new release. I think this can be closed now.

@lpaulsen93 lpaulsen93 closed this Apr 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants