Closed (won't fix)
Project:
Drupal.org security advisory coverage applications
Component:
module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2011 at 02:21 UTC
Updated:
31 Aug 2012 at 10:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedIn what way are notes different from comments?
There's certainly a need for a generalized comment-for-entities module. It sounds like this isn't far off from that, but I'd rather see the Drupal terminology kept.
Comment #2
webadpro commentedEntity Notes is more than just comments. This creates an extra tab "Note" where you could use for admin if you wish. The project was initially used to add admin notes to users account for support. I don't think comments are the same as entity notes. You could add a note to a comment if you'd like to.
As for comments in Drupal, comments are added after the content where this module isn't made to do that.
Comment #3
joachim commentedThanks for the explanation. It might be a good idea to post a screenshot to explain this difference.
Comment #4
webadpro commentedPlease view post under.
Comment #5
webadpro commentedAs requested.
Comment #6
joachim commented> * Provides a Mail In Payment method for Drupal Commerce
ORLY? ;)
> * an object as returned by entity_load()
Should be written as a sentence: capital letter and full stop.
> 'title' => t("View any Notes")
Compare the capitalization with core permissions, perhaps.
> if (empty($entity)) return FALSE;
if statements always need {}, and on separate lines.
- you need a newline at the end of files.
> function entity_notes_views_query_alter(&$view, &$query) {
Missing a function docblock.
Generally the code looks pretty good -- all my comments are minor detail.
I'm still unsure about the way this is largely doing what comments do...
Comment #7
webadpro commentedThanks for reviewing. I will fix the errors mentioned. As for the first bug, yeah, I must've started the project with a default template I always use, and I forgot to remove the comment.
Comment #8
webadpro commentedI have fixed all the bugs that has been mentioned. As for what is the difference between comments & entity notes, well I did explain it earlier and provided the requested screenshot. I've used the code in a live environment and i feel like it is not really the same as comments but that is my opinion.
Comment #9
sreynen commentedHi webadpro,
Please set this back to "needs review" after fixing these issues:
I don't see any problems just looking at the code, but since I couldn't figure out how to actually create notes, I wasn't able to do much testing.
Comment #10
joachim commented> As for what is the difference between comments & entity notes, well I did explain it earlier and provided the requested screenshot.
Yup, I had a look.
It looks like comments, but presented in a slightly different way. Would you ever use both comments *and* notes on a single entity?
Comment #11
webadpro commented-> It looks like comments, but presented in a slightly different way. Would you ever use both comments *and* notes on a single entity?
You sure could use both. As an example lets say you have a content type Invoice, where some discussions could be be made using comments but the admins could add in some notes for the invoice where you wouldn't want the user to view.
Comment #12
webadpro commentedsreynen, i will add the missing files and instructions how to use the module.
Thanks a lot for reviewing.
Comment #13
webadpro commented@sreynen, I made all the changes that you did mention.
Would it be possible to review once again?
Comment #14
joachim commentedI understand that they're presented differently, and have different purposes.
But surely under the hood they're the same kind of thing -- an entity that's completely attached to another one, with a UI for posting and updating them and outputting then.
Hence I can't help but feel that this is the sort of thing a decoupled comment module should be able to support: multiple types of comment on one entity type, with different output.
I'm not going to let this stand in the way of this application, as that work on comment is a huge task and will take a long time. But perhaps you'd like to take a look at #731724: Convert comment settings into a field to make them work with CMI and non-node entities, perhaps lend the experience you'd built up working on this module, and consider a dependency on comment module in the long term?
Comment #15
webadpro commentedJoachim, I would agree with you that comment would probably be something similar in the way its binded to entities. I will have a look at the post you mentioned, and ill see how can I help.
Thanks.
Comment #16
webadpro commentedChanging the status of this application.
Comment #17
webadpro commentedWhat are the next step I must take, or do I still have to wait to get it reviewed once again?
Comment #18
sreynen commentedwebadpro, this just needs someone to review it again. There are many projects awaiting review, so it's sometimes slow. If you'd like to speed things up, I recommend reviewing someone else's project following the guidelines.
Comment #19
webadpro commentedOkay I see. Well, lets see what I can do.
Thanks.
Comment #20
klausiReview of the 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. Please report any bugs to klausi.
Comment #21
webadpro commentedStrange that coder returns warnings because when I did run it, it wasnt returning anything. Thanks klausi for reviewing, ill fix that.
Comment #22
misc commentedApplicant has been contacted to ask if the application is abandoned.
http://drupal.org/node/894256
Comment #23
webadpro commentedHi,
Sorry for the delay, but no this project is still active. I've simply run out of time lately to fix the issues. I will try get them fix asap.
Thanks
Comment #24
misc commentedNo problem. Could we mark this as postponed until you got the time to work on it?
Comment #25
webadpro commentedSure, I just did.
I will change its status back to needs review once i'm done.
Comment #26
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.